Struct openssl_sys::sockaddr_in
source · 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§
source§impl Clone for sockaddr_in
impl Clone for sockaddr_in
source§fn clone(&self) -> sockaddr_in
fn clone(&self) -> 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 moresource§impl Debug for sockaddr_in
impl Debug for sockaddr_in
source§impl Hash for sockaddr_in
impl Hash for sockaddr_in
source§impl PartialEq<sockaddr_in> for sockaddr_in
impl PartialEq<sockaddr_in> for sockaddr_in
source§fn eq(&self, other: &sockaddr_in) -> bool
fn eq(&self, other: &sockaddr_in) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.