uv_loop_s

Struct uv_loop_s 

Source
#[repr(C)]
pub struct uv_loop_s {
Show 39 fields pub data: *mut c_void, pub active_handles: c_uint, pub handle_queue: [*mut c_void; 2], pub active_reqs: uv_loop_s__bindgen_ty_1, pub internal_fields: *mut c_void, pub stop_flag: c_uint, pub flags: c_ulong, pub backend_fd: c_int, pub pending_queue: [*mut c_void; 2], pub watcher_queue: [*mut c_void; 2], pub watchers: *mut *mut uv__io_t, pub nwatchers: c_uint, pub nfds: c_uint, pub wq: [*mut c_void; 2], pub wq_mutex: uv_mutex_t, pub wq_async: uv_async_t, pub cloexec_lock: uv_rwlock_t, pub closing_handles: *mut uv_handle_t, pub process_handles: [*mut c_void; 2], pub prepare_handles: [*mut c_void; 2], pub check_handles: [*mut c_void; 2], pub idle_handles: [*mut c_void; 2], pub async_handles: [*mut c_void; 2], pub async_unused: Option<unsafe extern "C" fn()>, pub async_io_watcher: uv__io_t, pub async_wfd: c_int, pub timer_heap: uv_loop_s__bindgen_ty_2, pub timer_counter: u64, pub time: u64, pub signal_pipefd: [c_int; 2], pub signal_io_watcher: uv__io_t, pub child_watcher: uv_signal_t, pub emfile_fd: c_int, pub cf_thread: uv_thread_t, pub _cf_reserved: *mut c_void, pub cf_state: *mut c_void, pub cf_mutex: uv_mutex_t, pub cf_sem: uv_sem_t, pub cf_signals: [*mut c_void; 2],
}

Fields§

§data: *mut c_void§active_handles: c_uint§handle_queue: [*mut c_void; 2]§active_reqs: uv_loop_s__bindgen_ty_1§internal_fields: *mut c_void§stop_flag: c_uint§flags: c_ulong§backend_fd: c_int§pending_queue: [*mut c_void; 2]§watcher_queue: [*mut c_void; 2]§watchers: *mut *mut uv__io_t§nwatchers: c_uint§nfds: c_uint§wq: [*mut c_void; 2]§wq_mutex: uv_mutex_t§wq_async: uv_async_t§cloexec_lock: uv_rwlock_t§closing_handles: *mut uv_handle_t§process_handles: [*mut c_void; 2]§prepare_handles: [*mut c_void; 2]§check_handles: [*mut c_void; 2]§idle_handles: [*mut c_void; 2]§async_handles: [*mut c_void; 2]§async_unused: Option<unsafe extern "C" fn()>§async_io_watcher: uv__io_t§async_wfd: c_int§timer_heap: uv_loop_s__bindgen_ty_2§timer_counter: u64§time: u64§signal_pipefd: [c_int; 2]§signal_io_watcher: uv__io_t§child_watcher: uv_signal_t§emfile_fd: c_int§cf_thread: uv_thread_t§_cf_reserved: *mut c_void§cf_state: *mut c_void§cf_mutex: uv_mutex_t§cf_sem: uv_sem_t§cf_signals: [*mut c_void; 2]

Trait Implementations§

Source§

impl Clone for uv_loop_s

Source§

fn clone(&self) -> uv_loop_s

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Default for uv_loop_s

Source§

fn default() -> Self

Returns the “default value” for a type. Read more
Source§

impl Copy for uv_loop_s

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

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

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.