pub struct DeferredActionSlot { /* private fields */ }
Expand description
Utility type for implementing Handler::take_deferred_action
.
Implementations§
Source§impl DeferredActionSlot
impl DeferredActionSlot
pub const fn new() -> DeferredActionSlot
pub fn take(&mut self) -> Option<DeferredAction>
pub fn defer(&mut self, action: DeferredAction) -> Result<(), IrqAckError>
pub fn defer_notify(&mut self, channel: Channel) -> Result<(), IrqAckError>
pub fn defer_irq_ack(&mut self, channel: Channel) -> Result<(), IrqAckError>
Trait Implementations§
Source§impl Default for DeferredActionSlot
impl Default for DeferredActionSlot
Source§fn default() -> DeferredActionSlot
fn default() -> DeferredActionSlot
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for DeferredActionSlot
impl RefUnwindSafe for DeferredActionSlot
impl Send for DeferredActionSlot
impl Sync for DeferredActionSlot
impl Unpin for DeferredActionSlot
impl UnwindSafe for DeferredActionSlot
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T, U> Into<U> for Twhere
U: From<T>,
impl<T, U> Into<U> for Twhere
U: From<T>,
§impl<T, U> TryFrom<U> for Twhere
U: Into<T>,
impl<T, U> TryFrom<U> for Twhere
U: Into<T>,
§type Error = Infallible
type Error = Infallible
The type returned in the event of a conversion error.