Struct libc::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 Copy for sockaddr
[src]

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