Enum ifaddrs::IfAddr
[−]
[src]
pub enum IfAddr { V4(Ifv4Addr), V6(Ifv6Addr), }
Details about the address of an interface on this host
Variants
V4(Ifv4Addr)
This is an Ipv4 interface.
V6(Ifv6Addr)
This is an Ipv6 interface.
Trait Implementations
impl Debug for IfAddr
[src]
impl PartialEq for IfAddr
[src]
fn eq(&self, __arg_0: &IfAddr) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &IfAddr) -> bool
[src]
This method tests for !=
.
impl Eq for IfAddr
[src]
impl Hash for IfAddr
[src]
fn hash<__H: Hasher>(&self, __arg_0: &mut __H)
[src]
Feeds this value into the given [Hasher
]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
Feeds a slice of this type into the given [Hasher
]. Read more