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§
source§impl Clone for PendInterruptLineError
impl Clone for PendInterruptLineError
source§fn clone(&self) -> PendInterruptLineError
fn clone(&self) -> PendInterruptLineError
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for PendInterruptLineError
impl Debug for PendInterruptLineError
source§impl From<PendInterruptLineError> for ResultCode
impl From<PendInterruptLineError> for ResultCode
source§fn from(x: PendInterruptLineError) -> Self
fn from(x: PendInterruptLineError) -> Self
Converts to this type from the input type.
source§impl Hash for PendInterruptLineError
impl Hash for PendInterruptLineError
source§impl Ord for PendInterruptLineError
impl Ord for PendInterruptLineError
source§fn cmp(&self, other: &PendInterruptLineError) -> Ordering
fn cmp(&self, other: &PendInterruptLineError) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq<PendInterruptLineError> for PendInterruptLineError
impl PartialEq<PendInterruptLineError> for PendInterruptLineError
source§fn eq(&self, other: &PendInterruptLineError) -> bool
fn eq(&self, other: &PendInterruptLineError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<PendInterruptLineError> for PendInterruptLineError
impl PartialOrd<PendInterruptLineError> for PendInterruptLineError
source§fn partial_cmp(&self, other: &PendInterruptLineError) -> Option<Ordering>
fn partial_cmp(&self, other: &PendInterruptLineError) -> Option<Ordering>
1.0.0 · source§fn 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