Struct rkyv::net::ArchivedSocketAddrV6 [−][src]
pub struct ArchivedSocketAddrV6 { /* fields omitted */ }
Expand description
An archived SocketAddrV6
.
Implementations
Returns a SocketAddrV6
with the same value.
Returns the flow information associated with this address.
See SocketAddrV6::flowinfo()
for more details.
Returns the IP address associated with this socket address.
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>,
Archived<u16>: CheckBytes<__C>,
Archived<u32>: CheckBytes<__C>,
Archived<u32>: CheckBytes<__C>,
impl<__C: ?Sized> CheckBytes<__C> for ArchivedSocketAddrV6 where
ArchivedIpv6Addr: CheckBytes<__C>,
Archived<u16>: CheckBytes<__C>,
Archived<u32>: CheckBytes<__C>,
Archived<u32>: CheckBytes<__C>,
type Error = StructCheckError
type Error = StructCheckError
The error that may result from checking the type.
unsafe fn check_bytes<'__bytecheck>(
value: *const Self,
context: &mut __C
) -> Result<&'__bytecheck Self, Self::Error>
unsafe fn check_bytes<'__bytecheck>(
value: *const Self,
context: &mut __C
) -> Result<&'__bytecheck Self, Self::Error>
Checks whether the given pointer points to a valid value within the given context. Read more
Returns the “default value” for a type. Read more
Deserializes using the given deserializer
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
type Iter = <SocketAddrV6 as ToSocketAddrs>::Iter
type Iter = <SocketAddrV6 as ToSocketAddrs>::Iter
Returned iterator over socket addresses which this type may correspond to. Read more
Converts this object to an iterator of resolved SocketAddr
s. Read more
Auto Trait Implementations
impl RefUnwindSafe for ArchivedSocketAddrV6
impl Send for ArchivedSocketAddrV6
impl Sync for ArchivedSocketAddrV6
impl Unpin for ArchivedSocketAddrV6
impl UnwindSafe for ArchivedSocketAddrV6
Blanket Implementations
type ArchivedMetadata = ()
type ArchivedMetadata = ()
The archived version of the pointer metadata for this type.
Converts some archived metadata to the pointer metadata for itself.
Mutably borrows from an owned value. Read more