#[repr(C)]pub struct uv_getaddrinfo_s {
pub data: *mut c_void,
pub type_: uv_req_type,
pub reserved: [*mut c_void; 6],
pub loop_: *mut uv_loop_t,
pub work_req: uv__work,
pub cb: uv_getaddrinfo_cb,
pub hints: *mut addrinfo,
pub hostname: *mut c_char,
pub service: *mut c_char,
pub addrinfo: *mut addrinfo,
pub retcode: c_int,
}
Fields§
§data: *mut c_void
§type_: uv_req_type
§reserved: [*mut c_void; 6]
§loop_: *mut uv_loop_t
§work_req: uv__work
§cb: uv_getaddrinfo_cb
§hints: *mut addrinfo
§hostname: *mut c_char
§service: *mut c_char
§addrinfo: *mut addrinfo
§retcode: c_int
Trait Implementations§
source§impl Clone for uv_getaddrinfo_s
impl Clone for uv_getaddrinfo_s
source§fn clone(&self) -> uv_getaddrinfo_s
fn clone(&self) -> uv_getaddrinfo_s
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 moresource§impl Debug for uv_getaddrinfo_s
impl Debug for uv_getaddrinfo_s
impl Copy for uv_getaddrinfo_s
Auto Trait Implementations§
impl Freeze for uv_getaddrinfo_s
impl RefUnwindSafe for uv_getaddrinfo_s
impl !Send for uv_getaddrinfo_s
impl !Sync for uv_getaddrinfo_s
impl Unpin for uv_getaddrinfo_s
impl UnwindSafe for uv_getaddrinfo_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
)