Struct ifaces::interface::Interface [] [src]

pub struct Interface {
    pub name: String,
    pub kind: Kind,
    pub addr: Option<SocketAddr>,
    pub mask: Option<SocketAddr>,
    pub hop: Option<NextHop>,
}

Fields

The name of this interface.

The kind of interface this is.

The address of this interface, if it has one.

The netmask of this interface, if it has one.

The broadcast address or destination address, if it has one.

Methods

impl Interface
[src]

Retrieve a list of interfaces on this system.

Trait Implementations

impl Debug for Interface
[src]

Formats the value using the given formatter.