Skip to main content

BoxHandler

Type Alias BoxHandler 

Source
pub type BoxHandler = Arc<dyn Fn(Value) -> Pin<Box<dyn Future<Output = Result<Value, CruxErr>> + Send>> + Send + Sync>;
Expand description

Type-erased async handler: Value in, Value out.

Aliased Typeยง

pub struct BoxHandler { /* private fields */ }