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