pub enum Verdict {
Drop,
Accept,
Stolen,
Queue,
Repeat,
Stop,
}
Expand description
Decision on the packet
Variants§
Drop
Discard the packet
Accept
Accept the packet (continue iterations)
Stolen
Gone away
Queue
Inject the packet into a different queue ((the target queue number is in the high 16 bits of the verdict)
Repeat
Iterate the same cycle one more
Stop
Accept, but don’t continue iterations
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Verdict
impl RefUnwindSafe for Verdict
impl Send for Verdict
impl Sync for Verdict
impl Unpin for Verdict
impl UnwindSafe for Verdict
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