Module response
Types and traits for generating responses.
See axum::response for more details.
Structs
- AppendHeaders Append headers to a response.
-
ErrorResponse
An
IntoResponse-based error type - ResponseParts Parts of a response.
- TryIntoHeaderError Error returned if converting a value to a header fails.
Traits
- IntoResponse Trait for generating responses.
- IntoResponseParts Trait for adding headers and extensions to a response.
Type Aliases
-
Response
Type alias for
http::Responsewhose body type defaults toBody, the most common body type used with axum. -
Result
An
IntoResponse-based result type that usesErrorResponseas the error type.