Module response
Expand description
Types and traits for generating responses.
See crate::response
for more details.
Structs§
- Append headers to a response.
- An
IntoResponse
-based error type - An HTML response.
- Utility struct to easily create a redirect response.
- Parts of a response.
- Wrapper that can be used to turn an
IntoResponse
type into something that implementsInto<Response>
. - Error returned if converting a value to a header fails.
Traits§
- Trait for generating responses.
- Trait for adding headers and extensions to a response.
Type Aliases§
- Type alias for
http::Response
whose body type defaults toBody
, the most common body type used with rama. - An
IntoResponse
-based result type that usesErrorResponse
as the error type.