Module response_common

Source

Structsยง

BadRequestDetail ๐Ÿ”’
Low-level error structure containing granular details about the failed request.
BadRequestDetailContext ๐Ÿ”’
Additional context information for decoding/parsing failures.
BadRequestReturn ๐Ÿ”’
Error detail returned when the backend responds with a client error (HTTP 4xx).

Enumsยง

ResponseError
Top-level error type for handling all HTTP response-related failures.

Traitsยง

ByteStreamResponseType ๐Ÿ”’
Marker trait for types whose HTTP responses are raw byte streams instead of JSON or structured data.
HTTPResponseType ๐Ÿ”’
Trait representing types that define how to parse HTTP responses.
JSONBodyHTTPResponseType ๐Ÿ”’
Extension trait for response types that can be deserialized from JSON.
SerdeJSONBodyHTTPResponseType ๐Ÿ”’
Marker trait for types that expect JSON as an HTTP response body and can be deserialized.