pub struct DeferredAction { /* private fields */ }
Expand description
An action deferred for syscall coalescing using Handler::take_deferred_action
.
Implementations§
Source§impl DeferredAction
impl DeferredAction
pub fn new(channel: Channel, interface: DeferredActionInterface) -> Self
pub fn new_notify(channel: Channel) -> DeferredAction
pub fn new_irq_ack(channel: Channel) -> DeferredAction
pub fn channel(&self) -> Channel
pub fn interface(&self) -> DeferredActionInterface
pub fn execute_now(self) -> Result<(), IrqAckError>
Trait Implementations§
Source§impl Clone for DeferredAction
impl Clone for DeferredAction
Source§fn clone(&self) -> DeferredAction
fn clone(&self) -> DeferredAction
Returns a copy of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for DeferredAction
impl Debug for DeferredAction
Source§impl PartialEq for DeferredAction
impl PartialEq for DeferredAction
impl Copy for DeferredAction
impl Eq for DeferredAction
impl StructuralPartialEq for DeferredAction
Auto Trait Implementations§
impl Freeze for DeferredAction
impl RefUnwindSafe for DeferredAction
impl Send for DeferredAction
impl Sync for DeferredAction
impl Unpin for DeferredAction
impl UnwindSafe for DeferredAction
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)§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.