pub struct PoisonError(/* private fields */);Expand description
An error indicating that a value was poisoned.
Trait Implementations§
Source§impl Clone for PoisonError
impl Clone for PoisonError
Source§fn clone(&self) -> PoisonError
fn clone(&self) -> PoisonError
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PoisonError
impl Debug for PoisonError
Source§impl Display for PoisonError
impl Display for PoisonError
Source§impl Error for PoisonError
impl Error for PoisonError
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<'a, T, Target> From<PoisonRecover<'a, T, Target>> for PoisonError
impl<'a, T, Target> From<PoisonRecover<'a, T, Target>> for PoisonError
Source§fn from(guard: PoisonRecover<'a, T, Target>) -> Self
fn from(guard: PoisonRecover<'a, T, Target>) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for PoisonError
impl !RefUnwindSafe for PoisonError
impl Send for PoisonError
impl Sync for PoisonError
impl Unpin for PoisonError
impl !UnwindSafe for PoisonError
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