Enum netaddr::addr::IpAddrVersionExperimental
[-]
[+]
[src]
pub enum IpAddrVersion { Ipv4, Ipv6, }
Describe the version of an IP address.
Variants
Ipv4 | |
Ipv6 |
pub enum IpAddrVersion { Ipv4, Ipv6, }
Describe the version of an IP address.
Ipv4 | |
Ipv6 |
impl Decodable for IpAddrVersion
fn decode<__D: Decoder>(__arg_0: &mut __D) -> Result<IpAddrVersion, Error>
impl Encodable for IpAddrVersion
impl<__S: Writer + Hasher> Hash<__S> for IpAddrVersion
fn hash(&self, __arg_0: &mut __S)
impl Eq for IpAddrVersion
fn assert_receiver_is_total_eq(&self)
impl PartialEq for IpAddrVersion
fn eq(&self, __arg_0: &IpAddrVersion) -> bool
fn ne(&self, __arg_0: &IpAddrVersion) -> bool
impl Copy for IpAddrVersion
impl Show for IpAddrVersion
Prefix searches with a type followed by a colon (e.g.
fn:
) to restrict the search to a given type.
Accepted types are: fn
, mod
,
struct
, enum
,
trait
, typedef
(or
tdef
).