#[repr(transparent)]pub struct SockaddrIn6(_);
Expand description
An IPv6 socket address
Implementations
sourceimpl SockaddrIn6
impl SockaddrIn6
Trait Implementations
sourceimpl AsRef<sockaddr_in6> for SockaddrIn6
impl AsRef<sockaddr_in6> for SockaddrIn6
sourcefn as_ref(&self) -> &sockaddr_in6
fn as_ref(&self) -> &sockaddr_in6
Converts this type into a shared reference of the (usually inferred) input type.
sourceimpl Clone for SockaddrIn6
impl Clone for SockaddrIn6
sourcefn clone(&self) -> SockaddrIn6
fn clone(&self) -> SockaddrIn6
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for SockaddrIn6
impl Debug for SockaddrIn6
sourceimpl Display for SockaddrIn6
impl Display for SockaddrIn6
sourceimpl From<SockaddrIn6> for SocketAddrV6
impl From<SockaddrIn6> for SocketAddrV6
sourcefn from(addr: SockaddrIn6) -> Self
fn from(addr: SockaddrIn6) -> Self
Converts to this type from the input type.
sourceimpl From<SocketAddrV6> for SockaddrIn6
impl From<SocketAddrV6> for SockaddrIn6
sourcefn from(addr: SocketAddrV6) -> Self
fn from(addr: SocketAddrV6) -> Self
Converts to this type from the input type.
sourceimpl FromStr for SockaddrIn6
impl FromStr for SockaddrIn6
sourceimpl Hash for SockaddrIn6
impl Hash for SockaddrIn6
sourceimpl PartialEq<SockaddrIn6> for SockaddrIn6
impl PartialEq<SockaddrIn6> for SockaddrIn6
sourcefn eq(&self, other: &SockaddrIn6) -> bool
fn eq(&self, other: &SockaddrIn6) -> bool
sourceimpl SockaddrLike for SockaddrIn6
impl SockaddrLike for SockaddrIn6
sourceunsafe fn from_raw(addr: *const sockaddr, len: Option<socklen_t>) -> Option<Self>where
Self: Sized,
unsafe fn from_raw(addr: *const sockaddr, len: Option<socklen_t>) -> Option<Self>where
Self: Sized,
Unsafe constructor from a variable length source Read more
sourcefn as_ptr(&self) -> *const sockaddr
fn as_ptr(&self) -> *const sockaddr
Returns a raw pointer to the inner structure. Useful for FFI.
sourcefn family(&self) -> Option<AddressFamily>
fn family(&self) -> Option<AddressFamily>
Return the address family of this socket Read more
impl Copy for SockaddrIn6
impl Eq for SockaddrIn6
impl StructuralEq for SockaddrIn6
impl StructuralPartialEq for SockaddrIn6
Auto Trait Implementations
impl RefUnwindSafe for SockaddrIn6
impl Send for SockaddrIn6
impl Sync for SockaddrIn6
impl Unpin for SockaddrIn6
impl UnwindSafe for SockaddrIn6
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more