pub fn fn_service<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 fn_service<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 fn_service < 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
f
F