Enum rkyv::net::ArchivedIpAddr [−][src]
#[repr(u8)]
pub enum ArchivedIpAddr {
V4(ArchivedIpv4Addr),
V6(ArchivedIpv6Addr),
}Expand description
An archived IpAddr.
Variants
V4(ArchivedIpv4Addr)
Tuple Fields
An IPv4 address.
V6(ArchivedIpv6Addr)
Tuple Fields
An IPv6 address.
Implementations
Returns true if this is a loopback address.
See IpAddr::is_loopback() for more details.
Returns true if this is a multicast address.
See IpAddr::is_multicast() for more details.
Returns true for the special ‘unspecified’ address.
See IpAddr::is_unspecified() for more details.
Returns true if this address is an IPv4 address, and false
otherwise.
Returns true if this address is an IPv6 address, and false
otherwise.
Trait Implementations
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
Auto Trait Implementations
impl RefUnwindSafe for ArchivedIpAddr
impl Send for ArchivedIpAddr
impl Sync for ArchivedIpAddr
impl Unpin for ArchivedIpAddr
impl UnwindSafe for ArchivedIpAddr
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