Struct c_ares_sys::ares_socket_functions[][src]

#[repr(C)]
pub struct ares_socket_functions { pub asocket: Option<unsafe extern "C" fn(arg1: c_int, arg2: c_int, arg3: c_int, arg4: *mut c_void) -> ares_socket_t>, pub aclose: Option<unsafe extern "C" fn(arg1: ares_socket_t, arg2: *mut c_void) -> c_int>, pub aconnect: Option<unsafe extern "C" fn(arg1: ares_socket_t, arg2: *const sockaddr, arg3: ares_socklen_t, arg4: *mut c_void) -> c_int>, pub arecvfrom: Option<unsafe extern "C" fn(arg1: ares_socket_t, arg2: *mut c_void, arg3: usize, arg4: c_int, arg5: *mut sockaddr, arg6: *mut ares_socklen_t, arg7: *mut c_void) -> ares_ssize_t>, pub asendv: Option<unsafe extern "C" fn(arg1: ares_socket_t, arg2: *const iovec, arg3: c_int, arg4: *mut c_void) -> ares_ssize_t>, }

Fields

Trait Implementations

impl Debug for ares_socket_functions
[src]

Formats the value using the given formatter. Read more

impl Copy for ares_socket_functions
[src]

impl Clone for ares_socket_functions
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Auto Trait Implementations