#[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
sourceimpl Clone for aws_event_loop_vtable
impl Clone for aws_event_loop_vtable
sourcefn clone(&self) -> aws_event_loop_vtable
fn clone(&self) -> aws_event_loop_vtable
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for aws_event_loop_vtable
impl Debug for aws_event_loop_vtable
sourceimpl Default for aws_event_loop_vtable
impl Default for aws_event_loop_vtable
sourcefn default() -> aws_event_loop_vtable
fn default() -> aws_event_loop_vtable
Returns the “default value” for a type. Read more
sourceimpl PartialEq<aws_event_loop_vtable> for aws_event_loop_vtable
impl PartialEq<aws_event_loop_vtable> for aws_event_loop_vtable
sourcefn eq(&self, other: &aws_event_loop_vtable) -> bool
fn eq(&self, other: &aws_event_loop_vtable) -> bool
impl Copy for aws_event_loop_vtable
impl Eq for aws_event_loop_vtable
impl StructuralEq for aws_event_loop_vtable
impl StructuralPartialEq for aws_event_loop_vtable
Auto Trait Implementations
impl RefUnwindSafe for aws_event_loop_vtable
impl Send for aws_event_loop_vtable
impl Sync for aws_event_loop_vtable
impl Unpin for aws_event_loop_vtable
impl UnwindSafe for aws_event_loop_vtable
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more