pub enum InterruptRegistrationError {
IrqInUse {
irq: InterruptNumber,
existing_handler_address: usize,
},
SpawnError(&'static str),
}
Expand description
The errors that may occur in register_interrupt_handler()
.
Variants§
IrqInUse
The given irq
number was already in use and is registered to
the interrupt handler at the given existing_handler_address
.
SpawnError(&'static str)
The given error occurred when spawning the deferred interrupt task.
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for InterruptRegistrationError
impl Send for InterruptRegistrationError
impl Sync for InterruptRegistrationError
impl Unpin for InterruptRegistrationError
impl UnwindSafe for InterruptRegistrationError
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