pub enum SemaphoreWaitError {
NotSupported,
DeadlockConditionDetected,
Interrupt,
UnknownError(i32),
}Variants§
Trait Implementations§
Source§impl Clone for SemaphoreWaitError
impl Clone for SemaphoreWaitError
Source§fn clone(&self) -> SemaphoreWaitError
fn clone(&self) -> SemaphoreWaitError
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SemaphoreWaitError
impl Debug for SemaphoreWaitError
Source§impl From<SemaphoreWaitError> for SemaphoreError
impl From<SemaphoreWaitError> for SemaphoreError
Source§fn from(_: SemaphoreWaitError) -> SemaphoreError
fn from(_: SemaphoreWaitError) -> SemaphoreError
Converts to this type from the input type.
Source§impl From<SemaphoreWaitError> for SemaphoreTimedWaitError
impl From<SemaphoreWaitError> for SemaphoreTimedWaitError
Source§fn from(v: SemaphoreWaitError) -> SemaphoreTimedWaitError
fn from(v: SemaphoreWaitError) -> SemaphoreTimedWaitError
Converts to this type from the input type.
Source§impl Hash for SemaphoreWaitError
impl Hash for SemaphoreWaitError
Source§impl PartialEq for SemaphoreWaitError
impl PartialEq for SemaphoreWaitError
impl Copy for SemaphoreWaitError
impl Eq for SemaphoreWaitError
impl StructuralPartialEq for SemaphoreWaitError
Auto Trait Implementations§
impl Freeze for SemaphoreWaitError
impl RefUnwindSafe for SemaphoreWaitError
impl Send for SemaphoreWaitError
impl Sync for SemaphoreWaitError
impl Unpin for SemaphoreWaitError
impl UnwindSafe for SemaphoreWaitError
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