[−][src]Function actix_service::fn_factory
pub fn fn_factory<F, R, S, E>(f: F) -> FnNewServiceNoConfig<F, R, S, E> where
F: Fn() -> R,
R: IntoFuture<Item = S, Error = E>,
S: Service,
Create NewService
for function that can produce services