#[repr(u32)]pub enum IrqReturn {
None = 0,
Handled = 1,
}
Expand description
The value that can be returned from a Handler
or a ThreadedHandler
.
Variants§
None = 0
The interrupt was not from this device or was not handled.
Handled = 1
The interrupt was handled by this device.
Auto Trait Implementations§
impl Freeze for IrqReturn
impl RefUnwindSafe for IrqReturn
impl Send for IrqReturn
impl Sync for IrqReturn
impl Unpin for IrqReturn
impl UnwindSafe for IrqReturn
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