rama::http::core::service

Trait HttpService

pub trait HttpService<ReqBody>: Sealed<ReqBody> { }

Object Safety§

This trait is not object safe.

Implementors§

§

impl<S, State, ReqBody, R> HttpService<ReqBody> for RamaHttpService<S, State>
where S: Service<State, Request<Body>, Response = R, Error = Infallible> + Clone, State: Clone + Send + Sync + 'static, ReqBody: Body<Data = Bytes> + Send + Sync + 'static, <ReqBody as Body>::Error: Into<Box<dyn Error + Sync + Send>>, R: IntoResponse + Send + 'static,