pub enum EmptyDumbError {
    Poisoned,
    WouldBlock,
}Expand description
Empty struct to represent PoisonErrorss without actually
holding a guard.
Variants§
Trait Implementations§
Source§impl Debug for EmptyDumbError
 
impl Debug for EmptyDumbError
Source§impl Display for EmptyDumbError
 
impl Display for EmptyDumbError
Source§impl Error for EmptyDumbError
 
impl Error for EmptyDumbError
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<Infallible> for EmptyDumbError
 
impl From<Infallible> for EmptyDumbError
Source§fn from(_: Infallible) -> Self
 
fn from(_: Infallible) -> Self
Converts to this type from the input type.
Source§impl<T> From<PoisonError<T>> for EmptyDumbError
 
impl<T> From<PoisonError<T>> for EmptyDumbError
Source§fn from(_: PoisonError<T>) -> Self
 
fn from(_: PoisonError<T>) -> Self
Converts to this type from the input type.
Source§impl<T> From<TryLockError<T>> for EmptyDumbError
 
impl<T> From<TryLockError<T>> for EmptyDumbError
Source§fn from(value: TryLockError<T>) -> Self
 
fn from(value: TryLockError<T>) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for EmptyDumbError
impl RefUnwindSafe for EmptyDumbError
impl Send for EmptyDumbError
impl Sync for EmptyDumbError
impl Unpin for EmptyDumbError
impl UnwindSafe for EmptyDumbError
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