pub enum VerdictKind {
Drop,
Accept,
Queue,
Continue,
Break,
Jump {
chain: String,
},
Goto {
chain: String,
},
Return,
}
Variants§
Drop
Silently drop the packet.
Accept
Accept the packet and let it pass.
Queue
Continue
Break
Jump
Goto
Return
Trait Implementations§
Source§impl Clone for VerdictKind
impl Clone for VerdictKind
Source§fn clone(&self) -> VerdictKind
fn clone(&self) -> VerdictKind
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for VerdictKind
impl Debug for VerdictKind
Source§impl Hash for VerdictKind
impl Hash for VerdictKind
Source§impl PartialEq for VerdictKind
impl PartialEq for VerdictKind
impl Eq for VerdictKind
impl StructuralPartialEq for VerdictKind
Auto Trait Implementations§
impl Freeze for VerdictKind
impl RefUnwindSafe for VerdictKind
impl Send for VerdictKind
impl Sync for VerdictKind
impl Unpin for VerdictKind
impl UnwindSafe for VerdictKind
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