Enum interfaces::NextHop
[−]
[src]
pub enum NextHop { Broadcast(SocketAddr), Destination(SocketAddr), }
The next hop for an interface. See the individual variants for more information.
Variants
Broadcast(SocketAddr)
The broadcast address associated with the interface's address.
Destination(SocketAddr)
The destination address of a point-to-point interface.
Trait Implementations
impl PartialEq for NextHop
[src]
fn eq(&self, __arg_0: &NextHop) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &NextHop) -> bool
[src]
This method tests for !=
.
impl Eq for NextHop
[src]
impl Debug for NextHop
[src]
impl Clone for NextHop
[src]
fn clone(&self) -> NextHop
[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