[][src]Enum r3::kernel::ClearInterruptLineError

#[repr(i8)]pub enum ClearInterruptLineError {
    NotSupported,
    BadParam,
    BadObjectState,
}

Error type for InterruptLine::clear.

See ResultCode for all result codes and generic descriptions.

Variants

NotSupported

Clearing a pending flag is not supported by the port.

BadParam

Clearing the pending flag of the specified interrupt line is not supported.

BadObjectState

The interrupt line is not configured to allow this operation. For example, this operation is invalid for an level-triggered interrupt line.

A port is not required to detect this condition.

Trait Implementations

impl Clone for ClearInterruptLineError[src]

impl Copy for ClearInterruptLineError[src]

impl Debug for ClearInterruptLineError[src]

impl Eq for ClearInterruptLineError[src]

impl From<ClearInterruptLineError> for ResultCode[src]

impl Hash for ClearInterruptLineError[src]

impl Ord for ClearInterruptLineError[src]

impl PartialEq<ClearInterruptLineError> for ClearInterruptLineError[src]

impl PartialOrd<ClearInterruptLineError> for ClearInterruptLineError[src]

impl StructuralEq for ClearInterruptLineError[src]

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