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