pub enum ScrubRuleAction {
Scrub,
NoScrub,
}Expand description
Enum describing what should happen to a packet that matches a scrub rule.
Variants§
Trait Implementations§
Source§impl Clone for ScrubRuleAction
impl Clone for ScrubRuleAction
Source§fn clone(&self) -> ScrubRuleAction
fn clone(&self) -> ScrubRuleAction
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 ScrubRuleAction
impl Debug for ScrubRuleAction
Source§impl From<ScrubRuleAction> for u8
impl From<ScrubRuleAction> for u8
Source§fn from(rule_action: ScrubRuleAction) -> Self
fn from(rule_action: ScrubRuleAction) -> Self
Converts to this type from the input type.
Source§impl Hash for ScrubRuleAction
impl Hash for ScrubRuleAction
Source§impl PartialEq for ScrubRuleAction
impl PartialEq for ScrubRuleAction
impl Copy for ScrubRuleAction
impl Eq for ScrubRuleAction
impl StructuralPartialEq for ScrubRuleAction
Auto Trait Implementations§
impl Freeze for ScrubRuleAction
impl RefUnwindSafe for ScrubRuleAction
impl Send for ScrubRuleAction
impl Sync for ScrubRuleAction
impl Unpin for ScrubRuleAction
impl UnwindSafe for ScrubRuleAction
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