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]

fn is_loopback(&self) -> bool

Check whether this is a loopback address.

Trait Implementations

impl Clone for Ifv6Addr
[src]

fn clone(&self) -> Ifv6Addr

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)
1.0.0

Performs copy-assignment from source. Read more

impl Hash for Ifv6Addr
[src]

fn hash<__H: Hasher>(&self, __arg_0: &mut __H)

Feeds this value into the state given, updating the hasher as necessary.

fn hash_slice<H>(data: &[Self], state: &mut H) where H: Hasher
1.3.0

Feeds a slice of this type into the state provided.

impl Eq for Ifv6Addr
[src]

impl PartialEq for Ifv6Addr
[src]

fn eq(&self, __arg_0: &Ifv6Addr) -> bool

This method tests for self and other values to be equal, and is used by ==. Read more

fn ne(&self, __arg_0: &Ifv6Addr) -> bool

This method tests for !=.

impl Debug for Ifv6Addr
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.