pub struct IrCompiledFilter {
pub bytecode: Vec<Instruction>,
pub schema: Arc<FilterSchema>,
pub functions: Arc<FunctionRegistry>,
}Expand description
A compiled filter in IR form.
Fields§
§bytecode: Vec<Instruction>§schema: Arc<FilterSchema>§functions: Arc<FunctionRegistry>Implementations§
Source§impl IrCompiledFilter
impl IrCompiledFilter
Sourcepub fn execute(&self, ctx: &FilterContext) -> Result<bool, WirerustError>
pub fn execute(&self, ctx: &FilterContext) -> Result<bool, WirerustError>
Execute the IR filter against a context.
Auto Trait Implementations§
impl Freeze for IrCompiledFilter
impl !RefUnwindSafe for IrCompiledFilter
impl Send for IrCompiledFilter
impl Sync for IrCompiledFilter
impl Unpin for IrCompiledFilter
impl !UnwindSafe for IrCompiledFilter
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