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<T> From<AdaptiveWaitError> for MutexTimedLockError<'_, '_, T>where
T: Debug,
impl<T> From<AdaptiveWaitError> for MutexTimedLockError<'_, '_, T>where
T: Debug,
Source§fn from(v: AdaptiveWaitError) -> MutexTimedLockError<'_, '_, T>
fn from(v: AdaptiveWaitError) -> MutexTimedLockError<'_, '_, 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<T> From<NanosleepError> for MutexTimedLockError<'_, '_, T>where
T: Debug,
impl<T> From<NanosleepError> for MutexTimedLockError<'_, '_, T>where
T: Debug,
Source§fn from(v: NanosleepError) -> MutexTimedLockError<'_, '_, T>
fn from(v: NanosleepError) -> MutexTimedLockError<'_, '_, T>
Converts to this type from the input type.
Source§impl<T> From<TimeError> for MutexTimedLockError<'_, '_, T>where
T: Debug,
impl<T> From<TimeError> for MutexTimedLockError<'_, '_, T>where
T: Debug,
Source§fn from(v: TimeError) -> MutexTimedLockError<'_, '_, T>
fn from(v: TimeError) -> MutexTimedLockError<'_, '_, 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
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