[][src]Enum r3::kernel::SetInterruptLinePriorityError

#[repr(i8)]pub enum SetInterruptLinePriorityError {
    NotSupported,
    BadContext,
    BadParam,
}

Error type for InterruptLine::set_priority and InterruptLine::set_priority_unchecked.

See ResultCode for all result codes and generic descriptions.

Variants

NotSupported

The operation is not supported by the port.

BadContext

CPU Lock is active, or the current context is not a task context.

BadParam

The specified interrupt number or the specified priority value is out of range.

Trait Implementations

impl Clone for SetInterruptLinePriorityError[src]

impl Copy for SetInterruptLinePriorityError[src]

impl Debug for SetInterruptLinePriorityError[src]

impl Eq for SetInterruptLinePriorityError[src]

impl From<SetInterruptLinePriorityError> for ResultCode[src]

impl Hash for SetInterruptLinePriorityError[src]

impl Ord for SetInterruptLinePriorityError[src]

impl PartialEq<SetInterruptLinePriorityError> for SetInterruptLinePriorityError[src]

impl PartialOrd<SetInterruptLinePriorityError> for SetInterruptLinePriorityError[src]

impl StructuralEq for SetInterruptLinePriorityError[src]

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