Struct rkyv::std_impl::net::ArchivedSocketAddrV6 [−][src]
pub struct ArchivedSocketAddrV6 { /* fields omitted */ }
An archived SocketAddrV6
.
Implementations
impl ArchivedSocketAddrV6
[src]
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]
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.
unsafe fn check_bytes<'a>(
value: *const Self,
context: &mut __C
) -> Result<&'a Self, Self::Error>
[src]
value: *const Self,
context: &mut __C
) -> Result<&'a Self, Self::Error>
impl Clone for ArchivedSocketAddrV6
[src]
impl Clone for ArchivedSocketAddrV6
[src]fn clone(&self) -> ArchivedSocketAddrV6
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for ArchivedSocketAddrV6
[src]
impl Copy for ArchivedSocketAddrV6
[src]impl Default for ArchivedSocketAddrV6
[src]
impl Default for ArchivedSocketAddrV6
[src]fn default() -> ArchivedSocketAddrV6
[src]
impl<D: Fallible + ?Sized> Deserialize<SocketAddrV6, D> for ArchivedSocketAddrV6
[src]
impl<D: Fallible + ?Sized> Deserialize<SocketAddrV6, D> for ArchivedSocketAddrV6
[src]fn deserialize(&self, deserializer: &mut D) -> Result<SocketAddrV6, D::Error>
[src]
impl Eq for ArchivedSocketAddrV6
[src]
impl Eq for ArchivedSocketAddrV6
[src]impl Hash for ArchivedSocketAddrV6
[src]
impl Hash for ArchivedSocketAddrV6
[src]impl Ord for ArchivedSocketAddrV6
[src]
impl Ord for ArchivedSocketAddrV6
[src]impl PartialEq<ArchivedSocketAddrV6> for ArchivedSocketAddrV6
[src]
impl PartialEq<ArchivedSocketAddrV6> for ArchivedSocketAddrV6
[src]fn eq(&self, other: &ArchivedSocketAddrV6) -> bool
[src]
fn ne(&self, other: &ArchivedSocketAddrV6) -> bool
[src]
impl PartialEq<SocketAddrV6> for ArchivedSocketAddrV6
[src]
impl PartialEq<SocketAddrV6> for ArchivedSocketAddrV6
[src]impl PartialOrd<ArchivedSocketAddrV6> for ArchivedSocketAddrV6
[src]
impl PartialOrd<ArchivedSocketAddrV6> for ArchivedSocketAddrV6
[src]fn partial_cmp(&self, other: &ArchivedSocketAddrV6) -> Option<Ordering>
[src]
#[must_use]pub fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
pub fn lt(&self, other: &Rhs) -> bool#[must_use]pub fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
pub fn le(&self, other: &Rhs) -> bool#[must_use]pub fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
pub fn gt(&self, other: &Rhs) -> bool#[must_use]pub fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
pub fn ge(&self, other: &Rhs) -> boolimpl PartialOrd<SocketAddrV6> for ArchivedSocketAddrV6
[src]
impl PartialOrd<SocketAddrV6> for ArchivedSocketAddrV6
[src]fn partial_cmp(&self, other: &SocketAddrV6) -> Option<Ordering>
[src]
#[must_use]pub fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
pub fn lt(&self, other: &Rhs) -> bool#[must_use]pub fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
pub fn le(&self, other: &Rhs) -> bool#[must_use]pub fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
pub fn gt(&self, other: &Rhs) -> bool#[must_use]pub fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
pub fn ge(&self, other: &Rhs) -> boolimpl StructuralEq for ArchivedSocketAddrV6
[src]
impl StructuralEq for ArchivedSocketAddrV6
[src]impl ToSocketAddrs 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
fn to_socket_addrs(&self) -> Result<Self::Iter>
[src]
Auto Trait Implementations
impl RefUnwindSafe for ArchivedSocketAddrV6
impl RefUnwindSafe for ArchivedSocketAddrV6
impl Send for ArchivedSocketAddrV6
impl Send for ArchivedSocketAddrV6
impl Sync for ArchivedSocketAddrV6
impl Sync for ArchivedSocketAddrV6
impl Unpin for ArchivedSocketAddrV6
impl Unpin for ArchivedSocketAddrV6
impl UnwindSafe for ArchivedSocketAddrV6
impl UnwindSafe for ArchivedSocketAddrV6
Blanket Implementations
impl<T> ArchivePointee for T
[src]
impl<T> ArchivePointee for T
[src]type ArchivedMetadata = ()
The archived version of the pointer metadata for this type.
pub fn pointer_metadata(
&<T as ArchivePointee>::ArchivedMetadata
) -> <T as Pointee>::Metadata
[src]
&<T as ArchivePointee>::ArchivedMetadata
) -> <T as Pointee>::Metadata