pub trait MappedAddress {
// Required method
fn is_non_mapped(&self) -> bool;
}Expand description
An address that may represent an address from another addressing scheme.
MappedAddress is implemented by address types that can map another
addressing scheme. Notably, IPv6 addresses, which may represent an IPv4
address using the IPv4-mapped-Ipv6 subnet (e.g. ::FFFF:0:0/96).
Address types which cannot be used to represent another addressing scheme
can still implement MappedAddress by treating all addresses as
non-mapped.
Required Methods§
Sourcefn is_non_mapped(&self) -> bool
fn is_non_mapped(&self) -> bool
Is this a non-mapped address?