Struct libnotcurses_sys::c_api::ffi::sockaddr_storage
source · #[repr(C)]pub struct sockaddr_storage {
pub ss_family: sa_family_t,
pub __ss_padding: [c_char; 118],
pub __ss_align: c_ulong,
}Fields§
§ss_family: sa_family_t§__ss_padding: [c_char; 118]§__ss_align: c_ulongForce desired alignment.
Trait Implementations§
source§impl Clone for sockaddr_storage
impl Clone for sockaddr_storage
source§fn clone(&self) -> sockaddr_storage
fn clone(&self) -> sockaddr_storage
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_storage
impl Debug for sockaddr_storage
source§impl Default for sockaddr_storage
impl Default for sockaddr_storage
source§impl Hash for sockaddr_storage
impl Hash for sockaddr_storage
source§impl Ord for sockaddr_storage
impl Ord for sockaddr_storage
source§fn cmp(&self, other: &sockaddr_storage) -> Ordering
fn cmp(&self, other: &sockaddr_storage) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq<sockaddr_storage> for sockaddr_storage
impl PartialEq<sockaddr_storage> for sockaddr_storage
source§fn eq(&self, other: &sockaddr_storage) -> bool
fn eq(&self, other: &sockaddr_storage) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl PartialOrd<sockaddr_storage> for sockaddr_storage
impl PartialOrd<sockaddr_storage> for sockaddr_storage
source§fn partial_cmp(&self, other: &sockaddr_storage) -> Option<Ordering>
fn partial_cmp(&self, other: &sockaddr_storage) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read more