pub type ServiceFactory = Box<dyn Fn(&dyn ServiceProvider) -> DiResult<Box<dyn Any + Send + Sync>> + Send + Sync>;Expand description
Service factory function type Receives a service resolver and returns a boxed Any object
Aliased Typeยง
pub struct ServiceFactory(/* private fields */);