[][src]Enum r3::kernel::SignalSemaphoreError

#[repr(i8)]pub enum SignalSemaphoreError {
    BadId,
    BadContext,
    QueueOverflow,
}

Error type for Semaphore::signal.

See ResultCode for all result codes and generic descriptions.

Variants

BadId

The semaphore ID is out of range.

BadContext

CPU Lock is active.

QueueOverflow

The semaphore value is already at the maximum value.

Trait Implementations

impl Clone for SignalSemaphoreError[src]

impl Copy for SignalSemaphoreError[src]

impl Debug for SignalSemaphoreError[src]

impl Eq for SignalSemaphoreError[src]

impl From<SignalSemaphoreError> for ResultCode[src]

impl Hash for SignalSemaphoreError[src]

impl Ord for SignalSemaphoreError[src]

impl PartialEq<SignalSemaphoreError> for SignalSemaphoreError[src]

impl PartialOrd<SignalSemaphoreError> for SignalSemaphoreError[src]

impl StructuralEq for SignalSemaphoreError[src]

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