#[repr(C)]pub struct async_paged_vmo {
pub state: async_state_t,
pub handler: async_paged_vmo_handler_t,
pub pager: zx_handle_t,
pub vmo: zx_handle_t,
}Expand description
Holds content for a paged request packet receiver and its handler.
The client is responsible for retaining the structure in memory (and unmodified) until all packets have been received by the handler or the dispatcher shuts down.
Fields§
§state: async_state_tPrivate state owned by the dispatcher, initialize to zero with |ASYNC_STATE_INIT|.
handler: async_paged_vmo_handler_tThe handler to invoke when a packet is received.
pager: zx_handle_tThe associated pager when creating the VMO.
vmo: zx_handle_tThe VMO for this request.
Trait Implementations§
Source§impl Debug for async_paged_vmo
impl Debug for async_paged_vmo
Auto Trait Implementations§
impl Freeze for async_paged_vmo
impl RefUnwindSafe for async_paged_vmo
impl Send for async_paged_vmo
impl Sync for async_paged_vmo
impl Unpin for async_paged_vmo
impl UnsafeUnpin for async_paged_vmo
impl UnwindSafe for async_paged_vmo
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