Skip to main content

BoxedFunctionHandler

Type Alias BoxedFunctionHandler 

Source
pub type BoxedFunctionHandler = Box<dyn DynAsyncFunctionHandler + Send + Sync>;
Expand description

Boxed handler stored in the engine’s function registry. Users construct these with Box::new(MyHandler) — the blanket impl above auto-coerces any AsyncFunctionHandler into Box<dyn DynAsyncFunctionHandler + Send + Sync>.

Aliased Type§

pub struct BoxedFunctionHandler(/* private fields */);