Struct nix::sys::socket::sockaddr_in [−][src]
#[repr(C)]pub struct sockaddr_in {
pub sin_family: u16,
pub sin_port: u16,
pub sin_addr: in_addr,
pub sin_zero: [u8; 8],
}
Fields
sin_family: u16
sin_port: u16
sin_addr: in_addr
sin_zero: [u8; 8]
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
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