[][src]Enum r3::kernel::SetTimerPeriodError

#[repr(i8)]pub enum SetTimerPeriodError {
    BadId,
    BadContext,
    BadParam,
}

Error type for Timer::set_period.

See ResultCode for all result codes and generic descriptions.

Variants

BadId

The timer ID is out of range.

BadContext

CPU Lock is active.

BadParam

The duration is negative.

Trait Implementations

impl Clone for SetTimerPeriodError[src]

impl Copy for SetTimerPeriodError[src]

impl Debug for SetTimerPeriodError[src]

impl Eq for SetTimerPeriodError[src]

impl From<SetTimerPeriodError> for ResultCode[src]

impl Hash for SetTimerPeriodError[src]

impl Ord for SetTimerPeriodError[src]

impl PartialEq<SetTimerPeriodError> for SetTimerPeriodError[src]

impl PartialOrd<SetTimerPeriodError> for SetTimerPeriodError[src]

impl StructuralEq for SetTimerPeriodError[src]

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