Struct interfaces::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
kind: Kind
The kind of address this is (e.g. IPv4).
addr: Option<SocketAddr>
The underlying socket address, if it applies.
mask: Option<SocketAddr>
The netmask of this interface address, if it applies.
hop: Option<NextHop>
The broadcast address or destination address, if it applies.