Struct libresolv_sys::osockaddr [] [src]

pub struct osockaddr {
    pub sa_family: c_ushort,
    pub sa_data: [c_uchar; 14],
}

Fields

sa_family: c_ushort sa_data: [c_uchar; 14]

Trait Implementations

impl Clone for osockaddr
[src]

fn clone(&self) -> osockaddr

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

impl Debug for osockaddr
[src]

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

Formats the value using the given formatter.

impl Default for osockaddr
[src]

fn default() -> Self

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