Struct rkyv::std_impl::net::ArchivedIpv4Addr [−][src]
#[repr(transparent)]pub struct ArchivedIpv4Addr { /* fields omitted */ }
Expand description
An archived Ipv4Addr.
Implementations
Returns true if this is a broadcast address (255.255.255.255).
See Ipv4Addr::is_broadcast() for more details.
Returns true if this address is in a range designated for documentation.
See Ipv4Addr::is_documentation() for more details.
Returns true if the address is link-local (169.254.0.0/16).
See Ipv4Addr::is_link_local() for more details.
Returns true if this is a loopback address (127.0.0.0/8).
See Ipv4Addr::is_loopback() for more details.
Returns true if this is a multicast address (224.0.0.0/4).
See Ipv4Addr::is_multicast() for more details.
Returns true if this is a private address.
See Ipv4Addr::is_private() for more details.
Returns true for the special ‘unspecified’ address (0.0.0.0).
See Ipv4Addr::is_unspecified() for more details.
Returns the four eight-bit integers that make up this address.
Converts this address to an IPv4-compatible IPv6 address.
See Ipv4Addr::to_ipv6_compatible() for more
details.
Converts this address to an IPv4-mapped IPv6 address.
See Ipv4Addr::to_ipv6_mapped() for more details.
Trait Implementations
type Error = StructCheckError
type Error = StructCheckErrorThe 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]
unsafe fn check_bytes<'a>(
value: *const Self,
context: &mut __C
) -> Result<&'a Self, Self::Error>[src]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
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
Auto Trait Implementations
impl RefUnwindSafe for ArchivedIpv4Addrimpl Send for ArchivedIpv4Addrimpl Sync for ArchivedIpv4Addrimpl Unpin for ArchivedIpv4Addrimpl UnwindSafe for ArchivedIpv4AddrBlanket 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