Struct libresolv_sys::linger [] [src]

pub struct linger {
    pub l_onoff: c_int,
    pub l_linger: c_int,
}

Fields

l_onoff: c_int l_linger: c_int

Trait Implementations

impl Clone for linger
[src]

fn clone(&self) -> linger

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 Copy for linger
[src]

impl Debug for linger
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

impl Default for linger
[src]

fn default() -> Self

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