Expand description
Types and traits for generating responses.
See axum::response
for more details.
Structs§
- Append
Headers - Append headers to a response.
- Error
Response - An
IntoResponse
-based error type - Response
Parts - Parts of a response.
- TryInto
Header Error - Error returned if converting a value to a header fails.
Traits§
- Into
Response - Trait for generating responses.
- Into
Response Parts - Trait for adding headers and extensions to a response.
Type Aliases§
- Response
- Type alias for
http::Response
whose body type defaults toBody
, the most common body type used with axum. - Result
- An
IntoResponse
-based result type that usesErrorResponse
as the error type.