pub enum RuleEngineMode {
On,
Off,
DetectionOnly,
}Expand description
Rule engine mode.
Variants§
On
Rules are enabled and will block.
Off
Rules are disabled.
DetectionOnly
Rules are enabled but will only log, not block.
Trait Implementations§
Source§impl Clone for RuleEngineMode
impl Clone for RuleEngineMode
Source§fn clone(&self) -> RuleEngineMode
fn clone(&self) -> RuleEngineMode
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 RuleEngineMode
impl Debug for RuleEngineMode
Source§impl Default for RuleEngineMode
impl Default for RuleEngineMode
Source§impl PartialEq for RuleEngineMode
impl PartialEq for RuleEngineMode
impl Copy for RuleEngineMode
impl Eq for RuleEngineMode
impl StructuralPartialEq for RuleEngineMode
Auto Trait Implementations§
impl Freeze for RuleEngineMode
impl RefUnwindSafe for RuleEngineMode
impl Send for RuleEngineMode
impl Sync for RuleEngineMode
impl Unpin for RuleEngineMode
impl UnwindSafe for RuleEngineMode
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