Module response

Source
Expand description

Response types and conversion traits into them.

Structs§

Builder
An HTTP response builder
ResponseError
An error response type that implements both Error and IntoResponse traits.

Traits§

ErrorResponse
Blanketly implemented by error types that can be converted into the Response type.
IntoResponse
Implemented by types that can be converted into the Response type.
IntoResponseHeadParts
Implemented by types that form or can be converted into a type that forms the ResponseHeadParts.
IntoResponseResult
Implemented by types that can be converted into the ResponseResult type.

Type Aliases§

BoxedErrorResponse
Response
ResponseHeadParts
ResponseResult