pub enum InterruptAllocationError {
NoMoreInterrupts,
Unsupported,
KernelError(KactionError),
}
Expand description
Possible errors for interrupt allocation.
Variants§
NoMoreInterrupts
The device has run out of interrupt vectors that can be used.
Unsupported
Some option was unsupported.
KernelError(KactionError)
The kernel encountered an error.
Trait Implementations§
source§impl Clone for InterruptAllocationError
impl Clone for InterruptAllocationError
source§fn clone(&self) -> InterruptAllocationError
fn clone(&self) -> InterruptAllocationError
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 InterruptAllocationError
impl Debug for InterruptAllocationError
source§impl Ord for InterruptAllocationError
impl Ord for InterruptAllocationError
source§fn cmp(&self, other: &InterruptAllocationError) -> Ordering
fn cmp(&self, other: &InterruptAllocationError) -> 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<InterruptAllocationError> for InterruptAllocationError
impl PartialEq<InterruptAllocationError> for InterruptAllocationError
source§fn eq(&self, other: &InterruptAllocationError) -> bool
fn eq(&self, other: &InterruptAllocationError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<InterruptAllocationError> for InterruptAllocationError
impl PartialOrd<InterruptAllocationError> for InterruptAllocationError
source§fn partial_cmp(&self, other: &InterruptAllocationError) -> Option<Ordering>
fn partial_cmp(&self, other: &InterruptAllocationError) -> 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 moreimpl Copy for InterruptAllocationError
impl Eq for InterruptAllocationError
impl StructuralEq for InterruptAllocationError
impl StructuralPartialEq for InterruptAllocationError
Auto Trait Implementations§
impl DeviceSync for InterruptAllocationError
impl ObjSafe for InterruptAllocationError
impl RefUnwindSafe for InterruptAllocationError
impl Send for InterruptAllocationError
impl Sync for InterruptAllocationError
impl Unpin for InterruptAllocationError
impl UnwindSafe for InterruptAllocationError
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more