[−][src]Trait izanami_service::IntoService
A trait to be converted into an asynchronous function.
Associated Types
type Response
The response type of Service
.
type Error
The error type of Service
.
type Service: Service<Request, Response = Self::Response, Error = Self::Error>
The type of Service
obtained by converting the value of this type.
Required methods
fn into_service(self, ctx: T) -> Self::Service
Cosumes itself and convert it into a Service
.