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