Trait IntoEndpointServiceWithState
pub trait IntoEndpointServiceWithState<T, State>: Sealed<T, State> {
type Service: Service<Request, Output = Response, Error = Infallible>;
// Required method
fn into_endpoint_service_with_state(self, state: State) -> Self::Service;
}Required Associated Types§
type Service: Service<Request, Output = Response, Error = Infallible>
Required Methods§
fn into_endpoint_service_with_state(self, state: State) -> Self::Service
fn into_endpoint_service_with_state(self, state: State) -> Self::Service
convert the type into a rama_core::Service with state.