pub enum MutexTimedLockError<'mutex, 'handle, T>where
T: Debug,{
TimeoutExceedsMaximumSupportedDuration,
MutexLockError(MutexLockError<'mutex, 'handle, T>),
NanosleepError(NanosleepError),
AdaptiveWaitError(AdaptiveWaitError),
FailureInInternalClockWhileWait(TimeError),
}Variants§
TimeoutExceedsMaximumSupportedDuration
MutexLockError(MutexLockError<'mutex, 'handle, T>)
NanosleepError(NanosleepError)
AdaptiveWaitError(AdaptiveWaitError)
FailureInInternalClockWhileWait(TimeError)
Trait Implementations§
source§impl<'mutex, 'handle, T> Debug for MutexTimedLockError<'mutex, 'handle, T>where
T: Debug,
impl<'mutex, 'handle, T> Debug for MutexTimedLockError<'mutex, 'handle, T>where
T: Debug,
source§impl<'mutex, 'handle, T> From<AdaptiveWaitError> for MutexTimedLockError<'mutex, 'handle, T>where
T: Debug,
impl<'mutex, 'handle, T> From<AdaptiveWaitError> for MutexTimedLockError<'mutex, 'handle, T>where
T: Debug,
source§fn from(v: AdaptiveWaitError) -> MutexTimedLockError<'mutex, 'handle, T>
fn from(v: AdaptiveWaitError) -> MutexTimedLockError<'mutex, 'handle, T>
Converts to this type from the input type.
source§impl<'mutex, 'handle, T> From<MutexTimedLockError<'mutex, 'handle, T>> for MutexErrorwhere
T: Debug,
impl<'mutex, 'handle, T> From<MutexTimedLockError<'mutex, 'handle, T>> for MutexErrorwhere
T: Debug,
source§fn from(_: MutexTimedLockError<'mutex, 'handle, T>) -> MutexError
fn from(_: MutexTimedLockError<'mutex, 'handle, T>) -> MutexError
Converts to this type from the input type.
source§impl<'mutex, 'handle, T> From<NanosleepError> for MutexTimedLockError<'mutex, 'handle, T>where
T: Debug,
impl<'mutex, 'handle, T> From<NanosleepError> for MutexTimedLockError<'mutex, 'handle, T>where
T: Debug,
source§fn from(v: NanosleepError) -> MutexTimedLockError<'mutex, 'handle, T>
fn from(v: NanosleepError) -> MutexTimedLockError<'mutex, 'handle, T>
Converts to this type from the input type.
source§impl<'mutex, 'handle, T> From<TimeError> for MutexTimedLockError<'mutex, 'handle, T>where
T: Debug,
impl<'mutex, 'handle, T> From<TimeError> for MutexTimedLockError<'mutex, 'handle, T>where
T: Debug,
source§fn from(v: TimeError) -> MutexTimedLockError<'mutex, 'handle, T>
fn from(v: TimeError) -> MutexTimedLockError<'mutex, 'handle, T>
Converts to this type from the input type.
source§impl<'mutex, 'handle, T> PartialEq for MutexTimedLockError<'mutex, 'handle, T>
impl<'mutex, 'handle, T> PartialEq for MutexTimedLockError<'mutex, 'handle, T>
source§fn eq(&self, other: &MutexTimedLockError<'mutex, 'handle, T>) -> bool
fn eq(&self, other: &MutexTimedLockError<'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 MutexTimedLockError<'mutex, 'handle, T>
impl<'mutex, 'handle, T> StructuralPartialEq for MutexTimedLockError<'mutex, 'handle, T>where
T: Debug,
Auto Trait Implementations§
impl<'mutex, 'handle, T> Freeze for MutexTimedLockError<'mutex, 'handle, T>
impl<'mutex, 'handle, T> !RefUnwindSafe for MutexTimedLockError<'mutex, 'handle, T>
impl<'mutex, 'handle, T> Send for MutexTimedLockError<'mutex, 'handle, T>where
T: Send,
impl<'mutex, 'handle, T> Sync for MutexTimedLockError<'mutex, 'handle, T>
impl<'mutex, 'handle, T> Unpin for MutexTimedLockError<'mutex, 'handle, T>
impl<'mutex, 'handle, T> !UnwindSafe for MutexTimedLockError<'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