pub enum IrqError {
InvalidIrq,
InvalidCpu,
CpuOffline,
Busy,
NoMemory,
NotFound,
InIrqContext,
Unsupported,
Controller,
}Expand description
IRQ framework errors.
Variants§
InvalidIrq
Invalid IRQ number.
InvalidCpu
Invalid CPU id.
CpuOffline
The target CPU is offline.
Busy
IRQ line/action sharing rules reject the operation.
NoMemory
Allocation failed.
NotFound
The requested descriptor or action does not exist.
InIrqContext
This operation is not legal from IRQ context.
Unsupported
The platform adapter does not support this operation.
Controller
The platform controller reported an error.
Trait Implementations§
impl Copy for IrqError
impl Eq for IrqError
impl StructuralPartialEq for IrqError
Auto Trait Implementations§
impl Freeze for IrqError
impl RefUnwindSafe for IrqError
impl Send for IrqError
impl Sync for IrqError
impl Unpin for IrqError
impl UnsafeUnpin for IrqError
impl UnwindSafe for IrqError
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