Struct c_ares_sys::ares_socket_functions
[−]
[src]
#[repr(C)]pub struct ares_socket_functions { pub asocket: Option<unsafe extern "C" fn(_: c_int, _: c_int, _: c_int, _: *mut c_void) -> ares_socket_t>, pub aclose: Option<unsafe extern "C" fn(_: ares_socket_t, _: *mut c_void) -> c_int>, pub aconnect: Option<unsafe extern "C" fn(_: ares_socket_t, _: *const sockaddr, _: ares_socklen_t, _: *mut c_void) -> c_int>, pub arecvfrom: Option<unsafe extern "C" fn(_: ares_socket_t, _: *mut c_void, _: usize, _: c_int, _: *mut sockaddr, _: *mut ares_socklen_t, _: *mut c_void) -> ares_ssize_t>, pub asendv: Option<unsafe extern "C" fn(_: ares_socket_t, _: *const iovec, _: c_int, _: *mut c_void) -> ares_ssize_t>, }
Fields
asocket: Option<unsafe extern "C" fn(_: c_int, _: c_int, _: c_int, _: *mut c_void) -> ares_socket_t>
aclose: Option<unsafe extern "C" fn(_: ares_socket_t, _: *mut c_void) -> c_int>
aconnect: Option<unsafe extern "C" fn(_: ares_socket_t, _: *const sockaddr, _: ares_socklen_t, _: *mut c_void) -> c_int>
arecvfrom: Option<unsafe extern "C" fn(_: ares_socket_t, _: *mut c_void, _: usize, _: c_int, _: *mut sockaddr, _: *mut ares_socklen_t, _: *mut c_void) -> ares_ssize_t>
asendv: Option<unsafe extern "C" fn(_: ares_socket_t, _: *const iovec, _: c_int, _: *mut c_void) -> ares_ssize_t>
Trait Implementations
impl Debug for ares_socket_functions
[src]
impl Copy for ares_socket_functions
[src]
impl Clone for ares_socket_functions
[src]
fn clone(&self) -> ares_socket_functions
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more