pub fn service_fn<F, T, R, O, E>(f: F) -> ServiceFn<F, T, R, O, E>where F: Factory<T, R, O, E>, R: Future<Output = Result<O, E>>,
Create a ServiceFn from a function.
ServiceFn