pub trait SubsystemFactory: Send {
// Required method
fn create(self: Box<Self>, ioc: &IocContainer) -> Result<Box<dyn Subsystem>>;
// Provided method
fn provide_interceptors(
&self,
builder: InterceptorBuilder,
_ioc: &IocContainer,
) -> InterceptorBuilder { ... }
}Expand description
Factory trait for creating subsystems with IoC support