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 for InterruptAllocationError
impl PartialEq for InterruptAllocationError
source§impl PartialOrd for InterruptAllocationError
impl PartialOrd for InterruptAllocationError
impl Copy for InterruptAllocationError
impl Eq for InterruptAllocationError
impl StructuralPartialEq for InterruptAllocationError
Auto Trait Implementations§
impl DeviceSync for InterruptAllocationError
impl Freeze 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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.