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]
impl PartialEq for NextHop
fn eq(&self, other: &NextHop) -> bool
[src]
fn eq(&self, other: &NextHop) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &NextHop) -> bool
[src]
fn ne(&self, other: &NextHop) -> bool
This method tests for !=
.
impl Eq for NextHop
[src]
impl Eq for NextHop
impl Debug for NextHop
[src]
impl Debug for NextHop
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Clone for NextHop
[src]
impl Clone for NextHop
fn clone(&self) -> NextHop
[src]
fn clone(&self) -> NextHop
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Copy for NextHop
[src]
impl Copy for NextHop
impl Display for NextHop
[src]
impl Display for NextHop