#[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§
Auto Trait Implementations§
impl Freeze for uv_loop_s
impl RefUnwindSafe for uv_loop_s
impl !Send for uv_loop_s
impl !Sync for uv_loop_s
impl Unpin for uv_loop_s
impl UnwindSafe for uv_loop_s
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
)