Trait lamedh_http::IntoResponse [−][src]
A conversion of self into a Response<Body>
for various types.
Implementations for Response<B> where B: Into<Body>
,
B where B: Into<Body>
and serde_json::Value
are provided
by default.
Required methods
fn into_response(self) -> Response<Body>
[src]
Return a translation of self
into a Response<Body>
Implementations on Foreign Types
impl IntoResponse for String
[src]
fn into_response(self) -> Response<Body>
[src]
impl IntoResponse for &str
[src]
fn into_response(self) -> Response<Body>
[src]
impl IntoResponse for Value
[src]
fn into_response(self) -> Response<Body>
[src]
Implementors
impl<B> IntoResponse for Response<B> where
B: Into<Body>,
[src]
B: Into<Body>,