[][src]Enum r3::kernel::BoostPriorityError

#[repr(i8)]pub enum BoostPriorityError {
    BadContext,
}

Error type for Kernel::boost_priority and Kernel::unboost_priority.

See ResultCode for all result codes and generic descriptions.

Variants

BadContext

Priority Boost is already active or inactive, the current context is not a task context, or CPU Lock is active.

Trait Implementations

impl Clone for BoostPriorityError[src]

impl Copy for BoostPriorityError[src]

impl Debug for BoostPriorityError[src]

impl Eq for BoostPriorityError[src]

impl From<BoostPriorityError> for ResultCode[src]

impl Hash for BoostPriorityError[src]

impl Ord for BoostPriorityError[src]

impl PartialEq<BoostPriorityError> for BoostPriorityError[src]

impl PartialOrd<BoostPriorityError> for BoostPriorityError[src]

impl StructuralEq for BoostPriorityError[src]

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