Enum interfaces2::NextHop[][src]

pub enum NextHop {
    Broadcast(SocketAddr),
    Destination(SocketAddr),
}

The next hop for an interface. See the individual variants for more information.

Variants

The broadcast address associated with the interface's address.

The destination address of a point-to-point interface.

Trait Implementations

impl PartialEq for NextHop
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Eq for NextHop
[src]

impl Debug for NextHop
[src]

Formats the value using the given formatter. Read more

impl Clone for NextHop
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for NextHop
[src]

impl Display for NextHop
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl Send for NextHop

impl Sync for NextHop