rama
0.2.0-alpha.6
Http
Service
Object Safety
Implementors
In rama::
http::
core::
service
rama
::
http
::
core
::
service
Trait
HttpService
Copy item path
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,