#[repr(C)]pub struct async_ops_v1 {
pub now: Option<unsafe extern "C" fn(dispatcher: *mut async_dispatcher_t) -> zx_time_t>,
pub begin_wait: Option<unsafe extern "C" fn(dispatcher: *mut async_dispatcher_t, wait: *mut async_wait_t) -> zx_status_t>,
pub cancel_wait: Option<unsafe extern "C" fn(dispatcher: *mut async_dispatcher_t, wait: *mut async_wait_t) -> zx_status_t>,
pub post_task: Option<unsafe extern "C" fn(dispatcher: *mut async_dispatcher_t, task: *mut async_task_t) -> zx_status_t>,
pub cancel_task: Option<unsafe extern "C" fn(dispatcher: *mut async_dispatcher_t, task: *mut async_task_t) -> zx_status_t>,
pub queue_packet: Option<unsafe extern "C" fn(dispatcher: *mut async_dispatcher_t, receiver: *mut async_receiver_t, data: *const zx_packet_user_t) -> zx_status_t>,
pub set_guest_bell_trap: Option<unsafe extern "C" fn(dispatcher: *mut async_dispatcher_t, trap: *mut async_guest_bell_trap_t, guest: zx_handle_t, addr: zx_vaddr_t, length: usize) -> zx_status_t>,
}
Fields§
§now: Option<unsafe extern "C" fn(dispatcher: *mut async_dispatcher_t) -> zx_time_t>
§begin_wait: Option<unsafe extern "C" fn(dispatcher: *mut async_dispatcher_t, wait: *mut async_wait_t) -> zx_status_t>
§cancel_wait: Option<unsafe extern "C" fn(dispatcher: *mut async_dispatcher_t, wait: *mut async_wait_t) -> zx_status_t>
§post_task: Option<unsafe extern "C" fn(dispatcher: *mut async_dispatcher_t, task: *mut async_task_t) -> zx_status_t>
§cancel_task: Option<unsafe extern "C" fn(dispatcher: *mut async_dispatcher_t, task: *mut async_task_t) -> zx_status_t>
§queue_packet: Option<unsafe extern "C" fn(dispatcher: *mut async_dispatcher_t, receiver: *mut async_receiver_t, data: *const zx_packet_user_t) -> zx_status_t>
§set_guest_bell_trap: Option<unsafe extern "C" fn(dispatcher: *mut async_dispatcher_t, trap: *mut async_guest_bell_trap_t, guest: zx_handle_t, addr: zx_vaddr_t, length: usize) -> zx_status_t>
Trait Implementations§
Source§impl Clone for async_ops_v1
impl Clone for async_ops_v1
Source§fn clone(&self) -> async_ops_v1
fn clone(&self) -> async_ops_v1
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for async_ops_v1
impl Debug for async_ops_v1
Source§impl Default for async_ops_v1
impl Default for async_ops_v1
Source§fn default() -> async_ops_v1
fn default() -> async_ops_v1
Returns the “default value” for a type. Read more
impl Copy for async_ops_v1
Auto Trait Implementations§
impl Freeze for async_ops_v1
impl RefUnwindSafe for async_ops_v1
impl Send for async_ops_v1
impl Sync for async_ops_v1
impl Unpin for async_ops_v1
impl UnwindSafe for async_ops_v1
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)