Enum interfaces::NextHop
source · pub enum NextHop {
Broadcast(SocketAddr),
Destination(SocketAddr),
}
Expand description
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§
source§impl PartialEq<NextHop> for NextHop
impl PartialEq<NextHop> for NextHop
impl Copy for NextHop
impl Eq for NextHop
impl StructuralEq for NextHop
impl StructuralPartialEq for NextHop
Auto Trait Implementations§
impl RefUnwindSafe for NextHop
impl Send for NextHop
impl Sync for NextHop
impl Unpin for NextHop
impl UnwindSafe for NextHop
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more