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
This method 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