pub enum MutexLockError<'mutex, 'handle, T>where
T: Debug,{
ExceededMaximumNumberOfRecursiveLocks,
DeadlockDetected,
LockAcquiredButOwnerDied(MutexGuard<'mutex, 'handle, T>),
UnrecoverableState,
UnknownError(i32),
}Variants§
ExceededMaximumNumberOfRecursiveLocks
DeadlockDetected
LockAcquiredButOwnerDied(MutexGuard<'mutex, 'handle, T>)
UnrecoverableState
UnknownError(i32)
Trait Implementations§
Source§impl<'mutex, 'handle, T> Debug for MutexLockError<'mutex, 'handle, T>where
T: Debug,
impl<'mutex, 'handle, T> Debug for MutexLockError<'mutex, 'handle, T>where
T: Debug,
Source§impl<'mutex, 'handle, T> From<MutexLockError<'mutex, 'handle, T>> for MutexErrorwhere
T: Debug,
impl<'mutex, 'handle, T> From<MutexLockError<'mutex, 'handle, T>> for MutexErrorwhere
T: Debug,
Source§fn from(_: MutexLockError<'mutex, 'handle, T>) -> MutexError
fn from(_: MutexLockError<'mutex, 'handle, T>) -> MutexError
Converts to this type from the input type.
Source§impl<'mutex, 'handle, T> PartialEq for MutexLockError<'mutex, 'handle, T>
impl<'mutex, 'handle, T> PartialEq for MutexLockError<'mutex, 'handle, T>
Source§fn eq(&self, other: &MutexLockError<'mutex, 'handle, T>) -> bool
fn eq(&self, other: &MutexLockError<'mutex, 'handle, T>) -> bool
Tests for
self and other values to be equal, and is used by ==.impl<'mutex, 'handle, T> Eq for MutexLockError<'mutex, 'handle, T>
impl<'mutex, 'handle, T> StructuralPartialEq for MutexLockError<'mutex, 'handle, T>where
T: Debug,
Auto Trait Implementations§
impl<'mutex, 'handle, T> Freeze for MutexLockError<'mutex, 'handle, T>
impl<'mutex, 'handle, T> !RefUnwindSafe for MutexLockError<'mutex, 'handle, T>
impl<'mutex, 'handle, T> Send for MutexLockError<'mutex, 'handle, T>where
T: Send,
impl<'mutex, 'handle, T> Sync for MutexLockError<'mutex, 'handle, T>
impl<'mutex, 'handle, T> Unpin for MutexLockError<'mutex, 'handle, T>
impl<'mutex, 'handle, T> !UnwindSafe for MutexLockError<'mutex, 'handle, T>
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