pub struct LinearEngine { /* private fields */ }Expand description
The LinearEngine is a simple rule-matching engine that processes rules in order. It has a max
capacity of CAPACITY, but stops early based on the number of rules populated.
Trait Implementations§
Source§impl Engine for LinearEngine
impl Engine for LinearEngine
Source§const EBPF_PROGRAM_NAME: &'static str = "linear"
const EBPF_PROGRAM_NAME: &'static str = "linear"
The eBPF program name
Source§const EBPF_BYTES: &'static [u8]
const EBPF_BYTES: &'static [u8]
The raw bytes of the eBPF program
Source§type Loader = LinearEngineLoader
type Loader = LinearEngineLoader
Source§fn capacity(&self) -> Option<usize>
fn capacity(&self) -> Option<usize>
If this engnine is limited in max capacity, return the capcacity
Auto Trait Implementations§
impl Freeze for LinearEngine
impl RefUnwindSafe for LinearEngine
impl Send for LinearEngine
impl Sync for LinearEngine
impl Unpin for LinearEngine
impl UnsafeUnpin for LinearEngine
impl UnwindSafe for LinearEngine
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