pub struct EventProxy { /* private fields */ }Expand description
An async task that bridges an [Event] to an Interrupt.
When the interrupt is not directly backed by an OS event (e.g., it uses
a function callback for MSI-X), this wrapper creates a new event and
spawns a task that waits on it and calls Interrupt::deliver. When
the EventProxy is dropped, the task is cancelled.
Implementations§
Auto Trait Implementations§
impl Freeze for EventProxy
impl RefUnwindSafe for EventProxy
impl Send for EventProxy
impl Sync for EventProxy
impl Unpin for EventProxy
impl UnsafeUnpin for EventProxy
impl UnwindSafe for EventProxy
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