Skip to main content

async_paged_vmo_handler_t

Type Alias async_paged_vmo_handler_t 

Source
pub type async_paged_vmo_handler_t = Option<unsafe extern "C" fn(dispatcher: *mut async_dispatcher_t, paged_vmo: *mut async_paged_vmo_t, status: zx_status_t, request: *const zx_packet_page_request_t)>;
Expand description

Handles port packets containing page requests.

The |status| is |ZX_OK| if the packet was successfully delivered and |request| contains the information from the packet, otherwise |request| is null. The |status| is |ZX_ERR_CANCELED| if the dispatcher was shut down.

Aliased Type§

pub enum async_paged_vmo_handler_t {
    None,
    Some(unsafe extern "C" fn(*mut async_dispatcher, *mut async_paged_vmo, i32, *const zx_packet_page_request_t)),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(*mut async_dispatcher, *mut async_paged_vmo, i32, *const zx_packet_page_request_t))

Some value of type T.