pub enum MutexTimedLockError<'handle, T>where
T: Debug,{
TimeoutExceedsMaximumSupportedDuration,
MutexLockError(MutexLockError<'handle, T>),
NanosleepError(NanosleepError),
AdaptiveWaitError(AdaptiveWaitError),
FailureInInternalClockWhileWait(TimeError),
}Variants§
TimeoutExceedsMaximumSupportedDuration
MutexLockError(MutexLockError<'handle, T>)
NanosleepError(NanosleepError)
AdaptiveWaitError(AdaptiveWaitError)
FailureInInternalClockWhileWait(TimeError)
Trait Implementations§
Source§impl<'handle, T> Debug for MutexTimedLockError<'handle, T>where
T: Debug,
impl<'handle, T> Debug for MutexTimedLockError<'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<'handle, T> From<MutexTimedLockError<'handle, T>> for MutexErrorwhere
T: Debug,
impl<'handle, T> From<MutexTimedLockError<'handle, T>> for MutexErrorwhere
T: Debug,
Source§fn from(_: MutexTimedLockError<'handle, T>) -> MutexError
fn from(_: MutexTimedLockError<'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<'handle, T> PartialEq for MutexTimedLockError<'handle, T>
impl<'handle, T> PartialEq for MutexTimedLockError<'handle, T>
Source§fn eq(&self, other: &MutexTimedLockError<'handle, T>) -> bool
fn eq(&self, other: &MutexTimedLockError<'handle, T>) -> bool
Tests for
self and other values to be equal, and is used by ==.impl<'handle, T> Eq for MutexTimedLockError<'handle, T>
impl<'handle, T> StructuralPartialEq for MutexTimedLockError<'handle, T>where
T: Debug,
Auto Trait Implementations§
impl<'handle, T> Freeze for MutexTimedLockError<'handle, T>
impl<'handle, T> !RefUnwindSafe for MutexTimedLockError<'handle, T>
impl<'handle, T> Send for MutexTimedLockError<'handle, T>
impl<'handle, T> Sync for MutexTimedLockError<'handle, T>
impl<'handle, T> Unpin for MutexTimedLockError<'handle, T>
impl<'handle, T> !UnwindSafe for MutexTimedLockError<'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