Struct libresolv_sys::__res_state [] [src]

pub struct __res_state {
    pub retrans: c_int,
    pub retry: c_int,
    pub options: u_long,
    pub nscount: c_int,
    pub nsaddr_list: [sockaddr_in; 3],
    pub id: u_short,
    pub dnsrch: [*mut c_char; 7],
    pub defdname: [c_char; 256],
    pub pfcode: u_long,
    pub _bindgen_bitfield_1_: c_uint,
    pub sort_list: [Struct_Unnamed32; 10],
    pub qhook: res_send_qhook,
    pub rhook: res_send_rhook,
    pub res_h_errno: c_int,
    pub _vcsock: c_int,
    pub _flags: u_int,
    pub _u: Union_Unnamed33,
}

Fields

retrans: c_int retry: c_int options: u_long nscount: c_int nsaddr_list: [sockaddr_in; 3] id: u_short dnsrch: [*mut c_char; 7] defdname: [c_char; 256] pfcode: u_long _bindgen_bitfield_1_: c_uint sort_list: [Struct_Unnamed32; 10] qhook: res_send_qhook rhook: res_send_rhook res_h_errno: c_int _vcsock: c_int _flags: u_int _u: Union_Unnamed33

Trait Implementations

impl Copy for __res_state
[src]

impl Clone for __res_state
[src]

fn clone(&self) -> Self

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)
1.0.0

Performs copy-assignment from source. Read more

impl Default for __res_state
[src]

fn default() -> Self

Returns the "default value" for a type. Read more