pub enum Forward {
Deliver,
Relay(u32),
Flood,
}Expand description
What to do with a packet bound for a given destination.
Variants§
Deliver
The packet is for this node; hand it to the application.
Relay(u32)
A route is known; unicast the packet to this next hop.
Flood
No route is known; fall back to flooding the packet.
Trait Implementations§
impl Copy for Forward
impl Eq for Forward
impl StructuralPartialEq for Forward
Auto Trait Implementations§
impl Freeze for Forward
impl RefUnwindSafe for Forward
impl Send for Forward
impl Sync for Forward
impl Unpin for Forward
impl UnsafeUnpin for Forward
impl UnwindSafe for Forward
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