Trait axum::response::IntoResponse [−][src]
pub trait IntoResponse { fn into_response(self) -> Response<Body>; }
Expand description
Trait for generating responses.
Types that implement IntoResponse
can be returned from handlers.
Required methods
fn into_response(self) -> Response<Body>
fn into_response(self) -> Response<Body>
Create a response.