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.
Trait Implementations
impl Debug for Address
[src]
impl Clone for Address
[src]
fn clone(&self) -> Address
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more