Programming, Cloudflare, Rust, Serverless, Workers.
Fn(&ExecutionContext<'s>) -> bool>); impl<'s> CompiledExpr<'s> { /// Creates a compiled expression IR from a generic closure. pub(crate) fn new(closure: impl 's + Fn(&ExecutionContext<'s>) -> bool) -> Self { CompiledExpr(Box::new(closure)) } /// Executes a filter against a provided context with