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