Struct nix::sys::socket::sockaddr_in6
source · #[repr(C)]pub struct sockaddr_in6 {
pub sin6_family: u16,
pub sin6_port: u16,
pub sin6_flowinfo: u32,
pub sin6_addr: in6_addr,
pub sin6_scope_id: u32,
}
Fields§
§sin6_family: u16
§sin6_port: u16
§sin6_flowinfo: u32
§sin6_addr: in6_addr
§sin6_scope_id: u32
Trait Implementations§
source§impl AsRef<sockaddr_in6> for SockaddrIn6
impl AsRef<sockaddr_in6> for SockaddrIn6
source§fn as_ref(&self) -> &sockaddr_in6
fn as_ref(&self) -> &sockaddr_in6
Converts this type into a shared reference of the (usually inferred) input type.
source§impl Clone for sockaddr_in6
impl Clone for sockaddr_in6
source§fn clone(&self) -> sockaddr_in6
fn clone(&self) -> sockaddr_in6
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_in6
impl Debug for sockaddr_in6
source§impl From<SockaddrIn6> for sockaddr_in6
impl From<SockaddrIn6> for sockaddr_in6
source§fn from(sin6: SockaddrIn6) -> sockaddr_in6
fn from(sin6: SockaddrIn6) -> sockaddr_in6
Converts to this type from the input type.
source§impl From<sockaddr_in6> for SockaddrIn6
impl From<sockaddr_in6> for SockaddrIn6
source§fn from(sin6: sockaddr_in6) -> SockaddrIn6
fn from(sin6: sockaddr_in6) -> SockaddrIn6
Converts to this type from the input type.
source§impl Hash for sockaddr_in6
impl Hash for sockaddr_in6
source§impl PartialEq for sockaddr_in6
impl PartialEq for sockaddr_in6
impl Copy for sockaddr_in6
impl Eq for sockaddr_in6
impl StructuralPartialEq for sockaddr_in6
Auto Trait Implementations§
impl Freeze for sockaddr_in6
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§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)