pub enum SemaphoreError {
Atomic(SharedAtomicError),
WouldBlock,
Timeout,
ReleaseOverflow,
}Variants§
Trait Implementations§
Source§impl Clone for SemaphoreError
impl Clone for SemaphoreError
Source§fn clone(&self) -> SemaphoreError
fn clone(&self) -> SemaphoreError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for SemaphoreError
Source§impl Debug for SemaphoreError
impl Debug for SemaphoreError
impl Eq for SemaphoreError
Source§impl From<SemaphoreError> for BlockingSemaphoreError
impl From<SemaphoreError> for BlockingSemaphoreError
Source§fn from(e: SemaphoreError) -> Self
fn from(e: SemaphoreError) -> Self
Converts to this type from the input type.
Source§fn from(e: SharedAtomicError) -> Self
fn from(e: SharedAtomicError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for SemaphoreError
impl PartialEq for SemaphoreError
impl StructuralPartialEq for SemaphoreError
Auto Trait Implementations§
impl Freeze for SemaphoreError
impl RefUnwindSafe for SemaphoreError
impl Send for SemaphoreError
impl Sync for SemaphoreError
impl Unpin for SemaphoreError
impl UnsafeUnpin for SemaphoreError
impl UnwindSafe for SemaphoreError
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