pub enum PasswordWorkError {
InvalidConcurrency,
Busy,
Closed,
Worker,
Crypto(CryptoError),
}Expand description
Redacted async password-work errors. Products map these at their own boundary.
Variants§
InvalidConcurrency
A zero-sized executor budget was requested.
Busy
No immediate execution permit is available.
Closed
The execution semaphore was closed.
Worker
The blocking job failed to join.
Crypto(CryptoError)
The synchronous cryptographic primitive rejected the operation.
Trait Implementations§
Source§impl Debug for PasswordWorkError
impl Debug for PasswordWorkError
Source§impl Display for PasswordWorkError
impl Display for PasswordWorkError
Source§impl Error for PasswordWorkError
impl Error for PasswordWorkError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§impl From<CryptoError> for PasswordWorkError
impl From<CryptoError> for PasswordWorkError
Source§fn from(source: CryptoError) -> Self
fn from(source: CryptoError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for PasswordWorkError
impl RefUnwindSafe for PasswordWorkError
impl Send for PasswordWorkError
impl Sync for PasswordWorkError
impl Unpin for PasswordWorkError
impl UnsafeUnpin for PasswordWorkError
impl UnwindSafe for PasswordWorkError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more