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