Programming, Cloudflare, Rust, Serverless, Workers.
in a heap-allocated Box, and then used just like in a generic implementation. In our case, this allows to create, return and store arbitrary closures, and later call them as regular functions: trait Expr<'s> { fn compile(self) -> CompiledExpr<'s>; } pub(crate) struct CompiledExpr<'s>(Box<dyn 's +