Struct libc::sockaddr_in
[−]
[src]
#[repr(C)]pub struct sockaddr_in { pub sin_len: u8, pub sin_family: sa_family_t, pub sin_port: in_port_t, pub sin_addr: in_addr, pub sin_zero: [c_char; 8], }
Fields
sin_len: u8
sin_family: sa_family_t
sin_port: in_port_t
sin_addr: in_addr
sin_zero: [c_char; 8]
Trait Implementations
impl Copy for sockaddr_in
[src]
impl Copy for sockaddr_in
impl Clone for sockaddr_in
[src]
impl Clone for sockaddr_in
fn clone(&self) -> 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[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
Auto Trait Implementations
impl Send for sockaddr_in
impl Send for sockaddr_in
impl Sync for sockaddr_in
impl Sync for sockaddr_in