Enum ifaddrs::IfAddr [] [src]

pub enum IfAddr {
    V4(Ifv4Addr),
    V6(Ifv6Addr),
}

Details about the address of an interface on this host

Variants

This is an Ipv4 interface.

This is an Ipv6 interface.

Trait Implementations

impl Debug for IfAddr
[src]

[src]

Formats the value using the given formatter.

impl PartialEq for IfAddr
[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 IfAddr
[src]

impl Hash for IfAddr
[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 IfAddr
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more