Trait ntex::IntoServiceFactory
source · pub trait IntoServiceFactory<T, Req, Cfg = ()>where
T: ServiceFactory<Req, Cfg>,{
// Required method
fn into_factory(self) -> T;
}
Expand description
Trait for types that can be converted to a ServiceFactory
Required Methods§
sourcefn into_factory(self) -> T
fn into_factory(self) -> T
Convert Self
to a ServiceFactory