ContextFn

Type Alias ContextFn 

Source
pub type ContextFn = Box<dyn Fn() -> Box<dyn Any> + Send + Sync>;
Expand description

A context function is a Send and Sync closure that returns a boxed trait object

Aliased Typeยง

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