Struct get_if_addrs::Ifv6Addr
[−]
[src]
pub struct Ifv6Addr { pub ip: Ipv6Addr, pub netmask: Ipv6Addr, pub broadcast: Option<Ipv6Addr>, }
Details about the ipv6 address of an interface on this host
Fields
ip: Ipv6Addr
The IP address of the interface.
netmask: Ipv6Addr
The netmask of the interface.
broadcast: Option<Ipv6Addr>
The broadcast address of the interface.
Methods
impl Ifv6Addr
[src]
pub fn is_loopback(&self) -> bool
[src]
Check whether this is a loopback address.
Trait Implementations
impl Debug for Ifv6Addr
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl PartialEq for Ifv6Addr
[src]
fn eq(&self, __arg_0: &Ifv6Addr) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Ifv6Addr) -> bool
[src]
This method tests for !=
.
impl Eq for Ifv6Addr
[src]
impl Hash for Ifv6Addr
[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