[][src]Enum r3::kernel::UnparkError

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

Error type for Task::unpark.

See ResultCode for all result codes and generic descriptions.

Variants

BadContext

CPU Lock is active.

BadId

The task ID is out of range.

BadObjectState

The task is in the Dormant state.

Trait Implementations

impl Clone for UnparkError[src]

impl Copy for UnparkError[src]

impl Debug for UnparkError[src]

impl Eq for UnparkError[src]

impl From<UnparkError> for ResultCode[src]

impl Hash for UnparkError[src]

impl Ord for UnparkError[src]

impl PartialEq<UnparkError> for UnparkError[src]

impl PartialOrd<UnparkError> for UnparkError[src]

impl StructuralEq for UnparkError[src]

impl StructuralPartialEq for UnparkError[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.