Struct get_if_addrs::Ifv4Addr [] [src]

pub struct Ifv4Addr {
    pub ip: Ipv4Addr,
    pub netmask: Ipv4Addr,
    pub broadcast: Option<Ipv4Addr>,
}

Details about the ipv4 address of an interface on this host

Fields

The IP address of the interface.

The netmask of the interface.

The broadcast address of the interface.

Methods

impl Ifv4Addr
[src]

[src]

Check whether this is a loopback address.

Trait Implementations

impl Debug for Ifv4Addr
[src]

[src]

Formats the value using the given formatter.

impl PartialEq for Ifv4Addr
[src]

[src]

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

[src]

This method tests for !=.

impl Eq for Ifv4Addr
[src]

impl Hash for Ifv4Addr
[src]

[src]

Feeds this value into the given [Hasher]. Read more

1.3.0
[src]

Feeds a slice of this type into the given [Hasher]. Read more

impl Clone for Ifv4Addr
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more