pub enum NextHop {
Broadcast(SocketAddr),
Destination(SocketAddr),
}Expand description
The next hop configured for an interface address.
Variants§
Broadcast(SocketAddr)
The broadcast address of the attached network.
Destination(SocketAddr)
The destination address, for point-to-point links.
Trait Implementations§
impl Eq for NextHop
impl StructuralPartialEq for NextHop
Auto Trait Implementations§
impl Freeze for NextHop
impl RefUnwindSafe for NextHop
impl Send for NextHop
impl Sync for NextHop
impl Unpin for NextHop
impl UnsafeUnpin 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