Struct libresolv_sys::sockaddr_in [] [src]

pub struct sockaddr_in {
    pub sin_family: sa_family_t,
    pub sin_port: in_port_t,
    pub sin_addr: in_addr,
    pub sin_zero: [c_uchar; 8],
}

Fields

sin_family: sa_family_t sin_port: in_port_t sin_addr: in_addr sin_zero: [c_uchar; 8]

Trait Implementations

impl Clone for sockaddr_in
[src]

fn clone(&self) -> sockaddr_in

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

impl Debug for sockaddr_in
[src]

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

Formats the value using the given formatter.

impl Default for sockaddr_in
[src]

fn default() -> Self

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