[][src]Enum r3::sync::recursive_mutex::TryLockError

#[repr(i8)]pub enum TryLockError<Guard> {
    BadContext,
    WouldBlock,
    BadParam,
    Abandoned(Guard),
}

Error type of RecursiveMutex::try_lock.

Variants

BadContext

CPU Lock is active, or the current context is not a task context.

WouldBlock

The lock could not be acquire at this time because the operation would otherwise block.

BadParam

The mutex was created with the protocol attribute having the value Ceiling and the current task's priority is higher than the mutex's priority ceiling.

Abandoned(Guard)

The previous owning task exited while holding the mutex lock. The current task shall hold the mutex lock, but is up to make the state consistent.

Trait Implementations

impl<Guard> Debug for TryLockError<Guard>[src]

Auto Trait Implementations

impl<Guard> Send for TryLockError<Guard> where
    Guard: Send
[src]

impl<Guard> Sync for TryLockError<Guard> where
    Guard: Sync
[src]

impl<Guard> Unpin for TryLockError<Guard> where
    Guard: Unpin
[src]

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.