[][src]Enum r3::kernel::WaitSemaphoreTimeoutError

#[repr(i8)]pub enum WaitSemaphoreTimeoutError {
    BadId,
    BadContext,
    Interrupted,
    Timeout,
    BadParam,
}

Error type for Semaphore::wait_one_timeout.

See ResultCode for all result codes and generic descriptions.

Variants

BadId

The semaphore ID is out of range.

BadContext

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

Interrupted
Timeout
BadParam

The timeout duration is negative.

Trait Implementations

impl Clone for WaitSemaphoreTimeoutError[src]

impl Copy for WaitSemaphoreTimeoutError[src]

impl Debug for WaitSemaphoreTimeoutError[src]

impl Eq for WaitSemaphoreTimeoutError[src]

impl From<WaitSemaphoreTimeoutError> for ResultCode[src]

impl From<WaitTimeoutError> for WaitSemaphoreTimeoutError[src]

impl Hash for WaitSemaphoreTimeoutError[src]

impl Ord for WaitSemaphoreTimeoutError[src]

impl PartialEq<WaitSemaphoreTimeoutError> for WaitSemaphoreTimeoutError[src]

impl PartialOrd<WaitSemaphoreTimeoutError> for WaitSemaphoreTimeoutError[src]

impl StructuralEq for WaitSemaphoreTimeoutError[src]

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