pub type sockaddr_in = linux_sockaddr_in;
Aliased Type§
struct sockaddr_in {
pub sin_family: u16,
pub sin_port: u16,
pub sin_addr: linux_in_addr,
pub l__pad: [u8; 8],
}
Fields§
§sin_family: u16
§sin_port: u16
§sin_addr: linux_in_addr
§l__pad: [u8; 8]
Trait Implementations§
impl Pod for sockaddr_in
Source§impl Clone for linux_sockaddr_in
impl Clone for linux_sockaddr_in
Source§fn clone(&self) -> linux_sockaddr_in
fn clone(&self) -> linux_sockaddr_in
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more