[][src]Enum r3::kernel::SleepError

#[repr(i8)]pub enum SleepError {
    BadContext,
    Interrupted,
    BadParam,
}

Error type for Kernel::sleep.

See ResultCode for all result codes and generic descriptions.

Variants

BadContext

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

Interrupted
BadParam

The duration is negative.

Trait Implementations

impl Clone for SleepError[src]

impl Copy for SleepError[src]

impl Debug for SleepError[src]

impl Eq for SleepError[src]

impl From<SleepError> for ResultCode[src]

impl Hash for SleepError[src]

impl Ord for SleepError[src]

impl PartialEq<SleepError> for SleepError[src]

impl PartialOrd<SleepError> for SleepError[src]

impl StructuralEq for SleepError[src]

impl StructuralPartialEq for SleepError[src]

Auto Trait Implementations

impl Send for SleepError

impl Sync for SleepError

impl Unpin for SleepError

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.