Skip to main content

factory

Function factory 

Source
pub fn factory<Sf, St, Req>(
    factory: Sf,
) -> BoxServiceFactory<St, Req, Sf::Res, Sf::Error, Sf::InitError>
where Sf: ServiceFactory<St, Req> + 'static, St: 'static, Req: 'static,
Expand description

Creates a boxed service factory.