#[repr(C)]
pub struct ares_options {
Show 20 fields pub flags: c_int, pub timeout: c_int, pub tries: c_int, pub ndots: c_int, pub udp_port: c_ushort, pub tcp_port: c_ushort, pub socket_send_buffer_size: c_int, pub socket_receive_buffer_size: c_int, pub servers: *mut in_addr, pub nservers: c_int, pub domains: *mut *mut c_char, pub ndomains: c_int, pub lookups: *mut c_char, pub sock_state_cb: ares_sock_state_cb, pub sock_state_cb_data: *mut c_void, pub sortlist: *mut apattern, pub nsort: c_int, pub ednspsz: c_int, pub resolvconf_path: *mut c_char, pub hosts_path: *mut c_char,
}

Fields§

§flags: c_int§timeout: c_int§tries: c_int§ndots: c_int§udp_port: c_ushort§tcp_port: c_ushort§socket_send_buffer_size: c_int§socket_receive_buffer_size: c_int§servers: *mut in_addr§nservers: c_int§domains: *mut *mut c_char§ndomains: c_int§lookups: *mut c_char§sock_state_cb: ares_sock_state_cb§sock_state_cb_data: *mut c_void§sortlist: *mut apattern§nsort: c_int§ednspsz: c_int§resolvconf_path: *mut c_char§hosts_path: *mut c_char

Trait Implementations§

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Formats the value using the given formatter. Read more

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.