pub trait IntoResponse {
// Required method
fn into_response(self) -> Response<Body>;
}Expand description
Trait for types that can be converted into an HTTP response
Required Methods§
Sourcefn into_response(self) -> Response<Body>
fn into_response(self) -> Response<Body>
Convert self into a Response