Struct libuv_sys2::uv_loop_s

source ·
#[repr(C)]
pub struct uv_loop_s {
Show 36 fields pub data: *mut c_void, pub active_handles: c_uint, pub handle_queue: uv__queue, 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: uv__queue, pub watcher_queue: uv__queue, pub watchers: *mut *mut uv__io_t, pub nwatchers: c_uint, pub nfds: c_uint, pub wq: uv__queue, 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: uv__queue, pub prepare_handles: uv__queue, pub check_handles: uv__queue, pub idle_handles: uv__queue, pub async_handles: uv__queue, 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 inotify_read_watcher: uv__io_t, pub inotify_watchers: *mut c_void, pub inotify_fd: c_int,
}

Fields§

§data: *mut c_void§active_handles: c_uint§handle_queue: uv__queue§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: uv__queue§watcher_queue: uv__queue§watchers: *mut *mut uv__io_t§nwatchers: c_uint§nfds: c_uint§wq: uv__queue§wq_mutex: uv_mutex_t§wq_async: uv_async_t§cloexec_lock: uv_rwlock_t§closing_handles: *mut uv_handle_t§process_handles: uv__queue§prepare_handles: uv__queue§check_handles: uv__queue§idle_handles: uv__queue§async_handles: uv__queue§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§inotify_read_watcher: uv__io_t§inotify_watchers: *mut c_void§inotify_fd: c_int

Trait Implementations§

source§

impl Clone for uv_loop_s

source§

fn clone(&self) -> uv_loop_s

Returns a copy 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 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> 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,

§

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>,

§

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>,

§

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.