Struct libc::sockaddr_in6
source · [−]#[repr(C)]pub struct sockaddr_in6 {
pub sin6_family: sa_family_t,
pub sin6_port: in_port_t,
pub sin6_flowinfo: u32,
pub sin6_addr: in6_addr,
pub sin6_scope_id: u32,
}
Fields
sin6_family: sa_family_t
sin6_port: in_port_t
sin6_flowinfo: u32
sin6_addr: in6_addr
sin6_scope_id: u32
Trait Implementations
sourceimpl Clone for sockaddr_in6
impl Clone for sockaddr_in6
sourcefn clone(&self) -> sockaddr_in6
fn clone(&self) -> sockaddr_in6
Returns a copy of the value. Read more
1.0.0const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for sockaddr_in6
impl Debug for sockaddr_in6
sourceimpl Hash for sockaddr_in6
impl Hash for sockaddr_in6
sourcefn hash<__H: Hasher>(&self, state: &mut __H)
fn hash<__H: Hasher>(&self, state: &mut __H)
Feeds this value into the given [
Hasher
]. Read more1.3.0fn hash_slice<H>(data: &[Self], state: &mut H)where
H: Hasher,
fn hash_slice<H>(data: &[Self], state: &mut H)where
H: Hasher,
Feeds a slice of this type into the given [
Hasher
]. Read moresourceimpl PartialEq<sockaddr_in6> for sockaddr_in6
impl PartialEq<sockaddr_in6> for sockaddr_in6
sourcefn eq(&self, other: &sockaddr_in6) -> bool
fn eq(&self, other: &sockaddr_in6) -> bool
impl Copy for sockaddr_in6
impl Eq for sockaddr_in6
impl StructuralEq for sockaddr_in6
impl StructuralPartialEq for sockaddr_in6
Auto Trait Implementations
impl RefUnwindSafe for sockaddr_in6
impl Send for sockaddr_in6
impl Sync for sockaddr_in6
impl Unpin for sockaddr_in6
impl UnwindSafe for sockaddr_in6
Blanket Implementations
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstablefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more