Trait IntoEndpointService
pub trait IntoEndpointService<T>: Sealed<T, ()> {
type Service: Service<Request, Output = Response, Error = Infallible>;
// Required method
fn into_endpoint_service(self) -> Self::Service;
}Expand description
utility trait to accept multiple types as an endpoint service for super::WebService
Required Associated Types§
type Service: Service<Request, Output = Response, Error = Infallible>
Required Methods§
fn into_endpoint_service(self) -> Self::Service
fn into_endpoint_service(self) -> Self::Service
convert the type into a rama_core::Service.