Struct c_ares_sys::ares_options[][src]

#[repr(C)]
pub struct ares_options {
Show 19 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,
}

Fields

flags: c_inttimeout: c_inttries: c_intndots: c_intudp_port: c_ushorttcp_port: c_ushortsocket_send_buffer_size: c_intsocket_receive_buffer_size: c_intservers: *mut in_addrnservers: c_intdomains: *mut *mut c_charndomains: c_intlookups: *mut c_charsock_state_cb: ares_sock_state_cbsock_state_cb_data: *mut c_voidsortlist: *mut apatternnsort: c_intednspsz: c_intresolvconf_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

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

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.