Enum r3_core::kernel::PendInterruptLineError
source · [−]#[repr(i8)]
pub enum PendInterruptLineError {
NotSupported,
BadParam,
BadObjectState,
}
Expand description
Error type for InterruptLine::pend
.
See ResultCode
for all result codes and generic descriptions.
Variants
NotSupported
Setting a pending flag is not supported by the kernel.
BadParam
Setting 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 kernel is not required to detect this condition.
Trait Implementations
sourceimpl Clone for PendInterruptLineError
impl Clone for PendInterruptLineError
sourcefn clone(&self) -> PendInterruptLineError
fn clone(&self) -> PendInterruptLineError
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for PendInterruptLineError
impl Debug for PendInterruptLineError
sourceimpl From<PendInterruptLineError> for ResultCode
impl From<PendInterruptLineError> for ResultCode
sourcefn from(x: PendInterruptLineError) -> Self
fn from(x: PendInterruptLineError) -> Self
Converts to this type from the input type.
sourceimpl Hash for PendInterruptLineError
impl Hash for PendInterruptLineError
sourceimpl Ord for PendInterruptLineError
impl Ord for PendInterruptLineError
sourceimpl PartialOrd<PendInterruptLineError> for PendInterruptLineError
impl PartialOrd<PendInterruptLineError> for PendInterruptLineError
sourcefn partial_cmp(&self, other: &PendInterruptLineError) -> Option<Ordering>
fn partial_cmp(&self, other: &PendInterruptLineError) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
impl Copy for PendInterruptLineError
impl Eq for PendInterruptLineError
impl StructuralEq for PendInterruptLineError
impl StructuralPartialEq for PendInterruptLineError
Auto Trait Implementations
impl RefUnwindSafe for PendInterruptLineError
impl Send for PendInterruptLineError
impl Sync for PendInterruptLineError
impl Unpin for PendInterruptLineError
impl UnwindSafe for PendInterruptLineError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more