#[non_exhaustive]pub enum UnitEngine {
Detection(Box<Engine>),
Correlation(Box<CorrelationEngine>),
Routed(Box<SchemaRouter>),
}Expand description
The compiled engine behind one ruleset unit.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Detection(Box<Engine>)
A stateless detection engine.
Correlation(Box<CorrelationEngine>)
A stateful detection and correlation engine.
Routed(Box<SchemaRouter>)
A schema router over one pipeline set.
Implementations§
Source§impl UnitEngine
impl UnitEngine
Sourcepub fn set_include_event(&mut self, include: bool)
pub fn set_include_event(&mut self, include: bool)
Set global include_event on the engine. Takes effect for the next
event evaluated.
Auto Trait Implementations§
impl Forget for UnitEngine
impl Freeze for UnitEngine
impl Move for UnitEngine
impl RefUnwindSafe for UnitEngine
impl Send for UnitEngine
impl Sync for UnitEngine
impl Unpin for UnitEngine
impl UnsafeUnpin for UnitEngine
impl UnwindSafe for UnitEngine
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