#[repr(C)]
pub union uv_any_req {
pub req: uv_req_t,
pub connect: uv_connect_t,
pub write: uv_write_t,
pub shutdown: uv_shutdown_t,
pub udp_send: uv_udp_send_t,
pub fs: uv_fs_t,
pub work: uv_work_t,
pub getaddrinfo: uv_getaddrinfo_t,
pub getnameinfo: uv_getnameinfo_t,
pub random: uv_random_t,
}
Fields§
§req: uv_req_t
§connect: uv_connect_t
§write: uv_write_t
§shutdown: uv_shutdown_t
§udp_send: uv_udp_send_t
§fs: uv_fs_t
§work: uv_work_t
§getaddrinfo: uv_getaddrinfo_t
§getnameinfo: uv_getnameinfo_t
§random: uv_random_t
Trait Implementations§
source§impl Clone for uv_any_req
impl Clone for uv_any_req
source§fn clone(&self) -> uv_any_req
fn clone(&self) -> uv_any_req
Returns a copy of the value. Read more
1.6.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreimpl Copy for uv_any_req
Auto Trait Implementations§
impl Freeze for uv_any_req
impl RefUnwindSafe for uv_any_req
impl !Send for uv_any_req
impl !Sync for uv_any_req
impl Unpin for uv_any_req
impl UnwindSafe for uv_any_req
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
)