#[repr(u32)]pub enum ThreadedIrqReturn {
None = 0,
Handled = 1,
WakeThread = 2,
}
Expand description
The value that can be returned from ThreadedHandler::handle
.
Variants§
None = 0
The interrupt was not from this device or was not handled.
Handled = 1
The interrupt was handled by this device.
WakeThread = 2
The handler wants the handler thread to wake up.
Auto Trait Implementations§
impl Freeze for ThreadedIrqReturn
impl RefUnwindSafe for ThreadedIrqReturn
impl Send for ThreadedIrqReturn
impl Sync for ThreadedIrqReturn
impl Unpin for ThreadedIrqReturn
impl UnwindSafe for ThreadedIrqReturn
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> PinInit<T> for T
impl<T> PinInit<T> for T
Source§unsafe fn __pinned_init(self, slot: *mut T) -> Result<(), Infallible>
unsafe fn __pinned_init(self, slot: *mut T) -> Result<(), Infallible>
Initializes
slot
. Read more