Struct sockaddr_in
#[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: [u8; 8] }
Fields
sin_family: sa_family_tsin_port: in_port_tsin_addr: in_addrsin_zero: [u8; 8]
Trait Implementations
impl Clone for sockaddr_in
fn clone(&self) -> Self
impl Copy for sockaddr_in
impl Debug for sockaddr_in
fn fmt(&self, f: &mut Formatter<'_>) -> Result
impl Eq for sockaddr_in
impl Hash for sockaddr_in
fn hash<__H: Hasher>(&self, state: &mut __H)
impl PartialEq for sockaddr_in
fn eq(&self, other: &Self) -> bool