Struct nix::sys::socket::sockaddr_in [] [src]

pub struct sockaddr_in {
    pub sin_len: u8,
    pub sin_family: u8,
    pub sin_port: u16,
    pub sin_addr: in_addr,
    pub sin_zero: [u8; 8],
}

Fields

sin_len: u8 sin_family: u8 sin_port: u16 sin_addr: in_addr sin_zero: [u8; 8]

Trait Implementations

impl Clone for sockaddr_in

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