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

Trait Implementations

impl Debug for ares_socket_functions
[src]

[src]

Formats the value using the given formatter.

impl Copy for ares_socket_functions
[src]

impl Clone for ares_socket_functions
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more