pub trait IntoResponse {
// Required method
fn into_response(self) -> Response;
}
Expand description
A trait for any type that can be turned into a Response
Required Methods§
Sourcefn into_response(self) -> Response
fn into_response(self) -> Response
Turn self
into a Response