Type Alias sockaddr_in

Source
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§

Source§

impl Pod for sockaddr_in

Source§

impl Clone for linux_sockaddr_in

Source§

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)

Performs copy-assignment from source. Read more
Source§

impl Debug for linux_sockaddr_in

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl PartialEq for linux_sockaddr_in

Source§

fn eq(&self, other: &linux_sockaddr_in) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl Copy for linux_sockaddr_in

Source§

impl Eq for linux_sockaddr_in

Source§

impl StructuralPartialEq for linux_sockaddr_in