Struct rkyv::std_impl::net::ArchivedSocketAddrV6[][src]

pub struct ArchivedSocketAddrV6 { /* fields omitted */ }

An archived SocketAddrV6.

Implementations

impl ArchivedSocketAddrV6[src]

pub fn as_socket_addr_v6(&self) -> SocketAddrV6[src]

Returns a SocketAddrV6 with the same value.

pub fn flowinfo(&self) -> u32[src]

Returns the flow information associated with this address.

See SocketAddrV6::flowinfo() for more details.

pub fn ip(&self) -> &ArchivedIpv6Addr[src]

Returns the IP address associated with this socket address.

pub fn port(&self) -> u16[src]

Returns the port number associated with this socket address.

pub fn scope_id(&self) -> u32[src]

Returns the scope ID associated with this address.

See SocketAddrV6::scope_id() for more details.

Trait Implementations

impl<__C: ?Sized> CheckBytes<__C> for ArchivedSocketAddrV6 where
    ArchivedIpv6Addr: CheckBytes<__C>,
    u16: CheckBytes<__C>,
    u32: CheckBytes<__C>,
    u32: CheckBytes<__C>, 
[src]

type Error = StructCheckError

The error that may result from checking the type.

impl Clone for ArchivedSocketAddrV6[src]

impl Copy for ArchivedSocketAddrV6[src]

impl Default for ArchivedSocketAddrV6[src]

impl<D: Fallible + ?Sized> Deserialize<SocketAddrV6, D> for ArchivedSocketAddrV6[src]

impl Eq for ArchivedSocketAddrV6[src]

impl Hash for ArchivedSocketAddrV6[src]

impl Ord for ArchivedSocketAddrV6[src]

impl PartialEq<ArchivedSocketAddrV6> for ArchivedSocketAddrV6[src]

impl PartialEq<SocketAddrV6> for ArchivedSocketAddrV6[src]

impl PartialOrd<ArchivedSocketAddrV6> for ArchivedSocketAddrV6[src]

impl PartialOrd<SocketAddrV6> for ArchivedSocketAddrV6[src]

impl StructuralEq for ArchivedSocketAddrV6[src]

impl StructuralPartialEq for ArchivedSocketAddrV6[src]

impl ToSocketAddrs for ArchivedSocketAddrV6[src]

type Iter = <SocketAddrV6 as ToSocketAddrs>::Iter

Returned iterator over socket addresses which this type may correspond to. Read more

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> ArchivePointee for T[src]

type ArchivedMetadata = ()

The archived version of the pointer metadata for this type.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Pointee for T[src]

type Metadata = ()

The type for metadata in pointers and references to Self.

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.