pub trait IntoService<S, St, Req>where
S: Service<St, Req>,{
// Required method
fn into_service(self) -> S;
}Expand description
Conversion into a Service.
Required Methods§
Sourcefn into_service(self) -> S
fn into_service(self) -> S
Converts this value into a service.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".