Trait tsukuyomi::IntoResponse
source · pub trait IntoResponse {
type Body: Into<ResponseBody>;
type Error: Into<Error>;
fn into_response(
self,
request: &Request<()>
) -> Result<Response<Self::Body>, Self::Error>;
}
Expand description
A trait representing the conversion into an HTTP response.