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

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

Error type of RecursiveMutex::lock.

Variants

BadContext

CPU Lock is active, or the current context is not waitable.

Interrupted

The wait operation was interrupted by Task::interrupt.

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 LockError<Guard>[src]

Auto Trait Implementations

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

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

impl<Guard> Unpin for LockError<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.