pub trait IntoResponse<Res> {
// Required method
fn into_response(self) -> Res;
}Expand description
A value that can be converted into a response.
Required Methods§
Sourcefn into_response(self) -> Res
fn into_response(self) -> Res
Convert this value into a response.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".