[][src]Enum r3::kernel::UnlockMutexError

#[repr(i8)]pub enum UnlockMutexError {
    BadId,
    BadContext,
    NotOwner,
    BadObjectState,
}

Error type for Mutex::unlock.

See ResultCode for all result codes and generic descriptions.

Variants

BadId

The mutex ID is out of range.

BadContext

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

NotOwner

The current task does not currently own the mutex.

BadObjectState

The correct mutex unlocking order is violated.

Trait Implementations

impl Clone for UnlockMutexError[src]

impl Copy for UnlockMutexError[src]

impl Debug for UnlockMutexError[src]

impl Eq for UnlockMutexError[src]

impl From<UnlockMutexError> for ResultCode[src]

impl Hash for UnlockMutexError[src]

impl Ord for UnlockMutexError[src]

impl PartialEq<UnlockMutexError> for UnlockMutexError[src]

impl PartialOrd<UnlockMutexError> for UnlockMutexError[src]

impl StructuralEq for UnlockMutexError[src]

impl StructuralPartialEq for UnlockMutexError[src]

Auto Trait Implementations

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.