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 NextHopfn eq(&self, other: &NextHop) -> bool[src]
fn eq(&self, other: &NextHop) -> boolThis 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) -> boolThis method tests for !=.
impl Eq for NextHop[src]
impl Eq for NextHopimpl Debug for NextHop[src]
impl Debug for NextHopfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Clone for NextHop[src]
impl Clone for NextHopfn clone(&self) -> NextHop[src]
fn clone(&self) -> NextHopReturns 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 NextHopimpl Display for NextHop[src]
impl Display for NextHop