Struct libnotcurses_sys::ffi::sockaddr_in [−][src]
#[repr(C)]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], }
Expand description
Structure describing an Internet socket address.
Fields
sin_family: sa_family_tsin_port: in_port_tPort number.
sin_addr: in_addrInternet address.
sin_zero: [c_uchar; 8]Pad to size of `struct sockaddr’.
Trait Implementations
Returns the “default value” for a type. Read more
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
This method returns an ordering between self and other values if one exists. Read more
This method tests less than (for self and other) and is used by the < operator. Read more
This method tests less than or equal to (for self and other) and is used by the <=
operator. Read more
This method tests greater than (for self and other) and is used by the > operator. Read more
Auto Trait Implementations
impl RefUnwindSafe for sockaddr_in
impl Send for sockaddr_in
impl Sync for sockaddr_in
impl Unpin for sockaddr_in
impl UnwindSafe for sockaddr_in
Blanket Implementations
Mutably borrows from an owned value. Read more