#[repr(C)]pub struct async_irq {
pub state: async_state_t,
pub handler: async_irq_handler_t,
pub object: zx_handle_t,
}Expand description
Similar to async_wait, but holds state for an interrupt.
Fields§
§state: async_state_tPrivate state owned by the dispatcher, initialize to zero with |ASYNC_STATE_INIT|.
handler: async_irq_handler_tThe wait’s handler function.
object: zx_handle_tThe object to wait for signals on.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for async_irq
impl RefUnwindSafe for async_irq
impl Send for async_irq
impl Sync for async_irq
impl Unpin for async_irq
impl UnsafeUnpin for async_irq
impl UnwindSafe for async_irq
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