Struct libresolv_sys::sockaddr [] [src]

pub struct sockaddr {
    pub sa_family: sa_family_t,
    pub sa_data: [c_char; 14],
}

Fields

sa_family: sa_family_t sa_data: [c_char; 14]

Trait Implementations

impl Clone for sockaddr
[src]

fn clone(&self) -> sockaddr

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 sockaddr
[src]

impl Debug for sockaddr
[src]

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

Formats the value using the given formatter.

impl Default for sockaddr
[src]

fn default() -> Self

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