Struct get_if_addrs::Ifv6Addr [−][src]
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]
impl Ifv6Addr
pub fn is_loopback(&self) -> bool
[src]
pub fn is_loopback(&self) -> bool
Check whether this is a loopback address.
Trait Implementations
impl Debug for Ifv6Addr
[src]
impl Debug for Ifv6Addr
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl PartialEq for Ifv6Addr
[src]
impl PartialEq for Ifv6Addr
fn eq(&self, other: &Ifv6Addr) -> bool
[src]
fn eq(&self, other: &Ifv6Addr) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Ifv6Addr) -> bool
[src]
fn ne(&self, other: &Ifv6Addr) -> bool
This method tests for !=
.
impl Eq for Ifv6Addr
[src]
impl Eq for Ifv6Addr
impl Hash for Ifv6Addr
[src]
impl Hash for Ifv6Addr
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
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]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0
[src]Feeds a slice of this type into the given [Hasher
]. Read more
impl Clone for Ifv6Addr
[src]
impl Clone for Ifv6Addr