Skip to main content

factory

Function factory 

Source
pub fn factory<Sf, St, Req>(
    factory: impl IntoServiceFactory<Sf, St, Req>,
) -> ServiceChainFactory<Sf, St, Req>
where Sf: ServiceFactory<St, Req>,
Expand description

Starts a ServiceChainFactory with one service factory.