Expand description
Error and Result module
Structs§
- An error representing a problem running a blocking task on a thread pool.
- General purpose Actix Web error.
- A generic “error” for HTTP connections
- Wraps errors to alter the generated response status code.
Enums§
- A set of error that can occur during parsing content type.
- A set of errors that can occur during dispatching HTTP requests.
- A set of errors that can occur during parsing json payloads
- A set of errors that can occur during parsing HTTP streams.
- A set of errors that can occur during parsing request paths
- A set of errors that can occur during payload parsing.
- A set of errors that can occur during parsing query strings.
- Error type returned when reading body as lines.
- Errors which can occur when attempting to generate resource uri.
- A set of errors that can occur during parsing urlencoded payloads
Traits§
- Errors that can generate responses.
Functions§
- Helper function that wraps any error and generates a
BAD_GATEWAYresponse. - Helper function that wraps any error and generates a
BAD_REQUESTresponse. - Helper function that wraps any error and generates a
CONFLICTresponse. - Helper function that wraps any error and generates a
EXPECTATION_FAILEDresponse. - Helper function that wraps any error and generates a
FAILED_DEPENDENCYresponse. - Helper function that wraps any error and generates a
FORBIDDENresponse. - Helper function that wraps any error and generates a
GATEWAY_TIMEOUTresponse. - Helper function that wraps any error and generates a
GONEresponse. - Helper function that wraps any error and generates a
HTTP_VERSION_NOT_SUPPORTEDresponse. - Helper function that wraps any error and generates a
IM_A_TEAPOTresponse. - Helper function that wraps any error and generates a
INSUFFICIENT_STORAGEresponse. - Helper function that wraps any error and generates a
INTERNAL_SERVER_ERRORresponse. - Helper function that wraps any error and generates a
LENGTH_REQUIREDresponse. - Helper function that wraps any error and generates a
LOCKEDresponse. - Helper function that wraps any error and generates a
LOOP_DETECTEDresponse. - Helper function that wraps any error and generates a
METHOD_NOT_ALLOWEDresponse. - Helper function that wraps any error and generates a
MISDIRECTED_REQUESTresponse. - Helper function that wraps any error and generates a
NETWORK_AUTHENTICATION_REQUIREDresponse. - Helper function that wraps any error and generates a
NOT_ACCEPTABLEresponse. - Helper function that wraps any error and generates a
NOT_EXTENDEDresponse. - Helper function that wraps any error and generates a
NOT_FOUNDresponse. - Helper function that wraps any error and generates a
NOT_IMPLEMENTEDresponse. - Helper function that wraps any error and generates a
PAYLOAD_TOO_LARGEresponse. - Helper function that wraps any error and generates a
PAYMENT_REQUIREDresponse. - Helper function that wraps any error and generates a
PRECONDITION_FAILEDresponse. - Helper function that wraps any error and generates a
PRECONDITION_REQUIREDresponse. - Helper function that wraps any error and generates a
PROXY_AUTHENTICATION_REQUIREDresponse. - Helper function that wraps any error and generates a
RANGE_NOT_SATISFIABLEresponse. - Helper function that wraps any error and generates a
REQUEST_HEADER_FIELDS_TOO_LARGEresponse. - Helper function that wraps any error and generates a
REQUEST_TIMEOUTresponse. - Helper function that wraps any error and generates a
SERVICE_UNAVAILABLEresponse. - Helper function that wraps any error and generates a
TOO_MANY_REQUESTSresponse. - Helper function that wraps any error and generates a
UNAUTHORIZEDresponse. - Helper function that wraps any error and generates a
UNAVAILABLE_FOR_LEGAL_REASONSresponse. - Helper function that wraps any error and generates a
UNPROCESSABLE_ENTITYresponse. - Helper function that wraps any error and generates a
UNSUPPORTED_MEDIA_TYPEresponse. - Helper function that wraps any error and generates a
UPGRADE_REQUIREDresponse. - Helper function that wraps any error and generates a
URI_TOO_LONGresponse. - Helper function that wraps any error and generates a
VARIANT_ALSO_NEGOTIATESresponse.
Type Aliases§
- A convenience
Resultfor Actix Web operations.