Struct interfaces2::Address[][src]

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

This structure represents a single address for a given interface.

Fields

The kind of address this is (e.g. IPv4).

The underlying socket address, if it applies.

The netmask of this interface address, if it applies.

The broadcast address or destination address, if it applies.

Trait Implementations

impl Debug for Address
[src]

Formats the value using the given formatter. Read more

impl Clone for Address
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for Address
[src]

Auto Trait Implementations

impl Send for Address

impl Sync for Address