#[repr(C)]
pub struct aws_event_loop_vtable { pub destroy: Option<unsafe extern "C" fn(event_loop: *mut aws_event_loop)>, pub run: Option<unsafe extern "C" fn(event_loop: *mut aws_event_loop) -> c_int>, pub stop: Option<unsafe extern "C" fn(event_loop: *mut aws_event_loop) -> c_int>, pub wait_for_stop_completion: Option<unsafe extern "C" fn(event_loop: *mut aws_event_loop) -> c_int>, pub schedule_task_now: Option<unsafe extern "C" fn(event_loop: *mut aws_event_loop, task: *mut aws_task)>, pub schedule_task_future: Option<unsafe extern "C" fn(event_loop: *mut aws_event_loop, task: *mut aws_task, run_at_nanos: u64)>, pub cancel_task: Option<unsafe extern "C" fn(event_loop: *mut aws_event_loop, task: *mut aws_task)>, pub subscribe_to_io_events: Option<unsafe extern "C" fn(event_loop: *mut aws_event_loop, handle: *mut aws_io_handle, events: c_int, on_event: aws_event_loop_on_event_fn, user_data: *mut c_void) -> c_int>, pub unsubscribe_from_io_events: Option<unsafe extern "C" fn(event_loop: *mut aws_event_loop, handle: *mut aws_io_handle) -> c_int>, pub free_io_event_resources: Option<unsafe extern "C" fn(user_data: *mut c_void)>, pub is_on_callers_thread: Option<unsafe extern "C" fn(event_loop: *mut aws_event_loop) -> bool>, }

Fields

destroy: Option<unsafe extern "C" fn(event_loop: *mut aws_event_loop)>run: Option<unsafe extern "C" fn(event_loop: *mut aws_event_loop) -> c_int>stop: Option<unsafe extern "C" fn(event_loop: *mut aws_event_loop) -> c_int>wait_for_stop_completion: Option<unsafe extern "C" fn(event_loop: *mut aws_event_loop) -> c_int>schedule_task_now: Option<unsafe extern "C" fn(event_loop: *mut aws_event_loop, task: *mut aws_task)>schedule_task_future: Option<unsafe extern "C" fn(event_loop: *mut aws_event_loop, task: *mut aws_task, run_at_nanos: u64)>cancel_task: Option<unsafe extern "C" fn(event_loop: *mut aws_event_loop, task: *mut aws_task)>subscribe_to_io_events: Option<unsafe extern "C" fn(event_loop: *mut aws_event_loop, handle: *mut aws_io_handle, events: c_int, on_event: aws_event_loop_on_event_fn, user_data: *mut c_void) -> c_int>unsubscribe_from_io_events: Option<unsafe extern "C" fn(event_loop: *mut aws_event_loop, handle: *mut aws_io_handle) -> c_int>free_io_event_resources: Option<unsafe extern "C" fn(user_data: *mut c_void)>is_on_callers_thread: Option<unsafe extern "C" fn(event_loop: *mut aws_event_loop) -> bool>

Trait Implementations

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Formats the value using the given formatter. Read more
Returns the “default value” for a type. Read more
This method tests for self and other values to be equal, and is used by ==. Read more
This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.