pub fn service_fn<F, Fut, Req, Res, Err, Cfg>(
    f: F,
) -> FnServiceFactory<F, Fut, Req, Res, Err, Cfg>
where
    F: FnMut(Req) -> Fut + Clone,
    Fut: Future<Output = Result<Res, Err>>,
{
    FnServiceFactory::new(f)
}
/// Create `ServiceFactory` for function that can act as a `Service`
Create `ServiceFactory` for function that can act as a `Service`
Create ` ServiceFactory ` for function that can act as a ` Service `
pub fn service_fn<F, Fut, Req, Res, Err, Cfg>(
    f: F,
) -> FnServiceFactory<F, Fut, Req, Res, Err, Cfg>
where
    F: FnMut(Req) -> Fut + Clone,
    Fut: Future<Output = Result<Res, Err>>,
{
    FnServiceFactory::new(f)
}
pub fn service_fn < F , Fut , Req , Res , Err , Cfg > ( f : F , ) -> FnServiceFactory < F , Fut , Req , Res , Err , Cfg > where F : FnMut ( Req ) -> Fut + Clone , Fut : Future < Output = Result < Res , Err > > , { FnServiceFactory :: new ( f ) }
Create `ServiceFactory` for function that can act as a `Service`
Create ` ServiceFactory ` for function that can act as a ` Service `
f
F