pub type async_receiver_handler_t = Option<unsafe extern "C" fn(dispatcher: *mut async_dispatcher_t, receiver: *mut async_receiver_t, status: zx_status_t, data: *const zx_packet_user_t)>;Expand description
Handles receipt of packets containing user supplied data.
The |status| is |ZX_OK| if the packet was successfully delivered and |data| contains the information from the packet, otherwise |data| is null.
Aliased Type§
pub enum async_receiver_handler_t {
None,
Some(unsafe extern "C" fn(*mut async_dispatcher, *mut async_receiver, i32, *const [u8; 32])),
}