pub trait IntoServiceFactory<Sf, St, Req, Cfg = ()>where
Sf: ServiceFactory<St, Req, Cfg>,{
// Required method
fn into_factory(self) -> Sf;
}Expand description
Trait for types that can be converted to a ServiceFactory
Required Methods§
Sourcefn into_factory(self) -> Sf
fn into_factory(self) -> Sf
Convert Self to a ServiceFactory
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".