pub struct PinnedNetIrqAction { /* private fields */ }Expand description
Move-only callback installed by the OS IRQ adapter.
Implementations§
Source§impl PinnedNetIrqAction
impl PinnedNetIrqAction
pub fn new( handler: impl FnMut() -> PinnedNetIrqOutcome + Send + 'static, ) -> Self
pub fn run(&mut self) -> PinnedNetIrqOutcome
Auto Trait Implementations§
impl !RefUnwindSafe for PinnedNetIrqAction
impl !Sync for PinnedNetIrqAction
impl !UnwindSafe for PinnedNetIrqAction
impl Freeze for PinnedNetIrqAction
impl Send for PinnedNetIrqAction
impl Unpin for PinnedNetIrqAction
impl UnsafeUnpin for PinnedNetIrqAction
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