Expand description
Error and Result module
Structs§
- Blocking
Error  - An error representing a problem running a blocking task on a thread pool.
 - Error
 - General purpose Actix Web error.
 - Http
Error  - A generic “error” for HTTP connections
 - Internal
Error  - Wraps errors to alter the generated response status code.
 
Enums§
- Content
Type Error  - A set of error that can occur during parsing content type.
 - Dispatch
Error  - A set of errors that can occur during dispatching HTTP requests.
 - Json
Payload Error  - A set of errors that can occur during parsing json payloads
 - Parse
Error  - A set of errors that can occur during parsing HTTP streams.
 - Path
Error  - A set of errors that can occur during parsing request paths
 - Payload
Error  - A set of errors that can occur during payload parsing.
 - Query
Payload Error  - A set of errors that can occur during parsing query strings.
 - Readlines
Error  - Error type returned when reading body as lines.
 - UrlGeneration
Error  - Errors which can occur when attempting to generate resource uri.
 - Urlencoded
Error  - A set of errors that can occur during parsing urlencoded payloads
 
Traits§
- Response
Error  - Errors that can generate responses.
 
Functions§
- Error
BadGateway  - Helper function that wraps any error and generates a 
BAD_GATEWAYresponse. - Error
BadRequest  - Helper function that wraps any error and generates a 
BAD_REQUESTresponse. - Error
Conflict  - Helper function that wraps any error and generates a 
CONFLICTresponse. - Error
Expectation Failed  - Helper function that wraps any error and generates a 
EXPECTATION_FAILEDresponse. - Error
Failed Dependency  - Helper function that wraps any error and generates a 
FAILED_DEPENDENCYresponse. - Error
Forbidden  - Helper function that wraps any error and generates a 
FORBIDDENresponse. - Error
Gateway Timeout  - Helper function that wraps any error and generates a 
GATEWAY_TIMEOUTresponse. - Error
Gone  - Helper function that wraps any error and generates a 
GONEresponse. - Error
Http Version NotSupported  - Helper function that wraps any error and generates a 
HTTP_VERSION_NOT_SUPPORTEDresponse. - Error
ImATeapot  - Helper function that wraps any error and generates a 
IM_A_TEAPOTresponse. - Error
Insufficient Storage  - Helper function that wraps any error and generates a 
INSUFFICIENT_STORAGEresponse. - Error
Internal Server Error  - Helper function that wraps any error and generates a 
INTERNAL_SERVER_ERRORresponse. - Error
Length Required  - Helper function that wraps any error and generates a 
LENGTH_REQUIREDresponse. - Error
Locked  - Helper function that wraps any error and generates a 
LOCKEDresponse. - Error
Loop Detected  - Helper function that wraps any error and generates a 
LOOP_DETECTEDresponse. - Error
Method NotAllowed  - Helper function that wraps any error and generates a 
METHOD_NOT_ALLOWEDresponse. - Error
Misdirected Request  - Helper function that wraps any error and generates a 
MISDIRECTED_REQUESTresponse. - Error
Network Authentication Required  - Helper function that wraps any error and generates a 
NETWORK_AUTHENTICATION_REQUIREDresponse. - Error
NotAcceptable  - Helper function that wraps any error and generates a 
NOT_ACCEPTABLEresponse. - Error
NotExtended  - Helper function that wraps any error and generates a 
NOT_EXTENDEDresponse. - Error
NotFound  - Helper function that wraps any error and generates a 
NOT_FOUNDresponse. - Error
NotImplemented  - Helper function that wraps any error and generates a 
NOT_IMPLEMENTEDresponse. - Error
Payload TooLarge  - Helper function that wraps any error and generates a 
PAYLOAD_TOO_LARGEresponse. - Error
Payment Required  - Helper function that wraps any error and generates a 
PAYMENT_REQUIREDresponse. - Error
Precondition Failed  - Helper function that wraps any error and generates a 
PRECONDITION_FAILEDresponse. - Error
Precondition Required  - Helper function that wraps any error and generates a 
PRECONDITION_REQUIREDresponse. - Error
Proxy Authentication Required  - Helper function that wraps any error and generates a 
PROXY_AUTHENTICATION_REQUIREDresponse. - Error
Range NotSatisfiable  - Helper function that wraps any error and generates a 
RANGE_NOT_SATISFIABLEresponse. - Error
Request Header Fields TooLarge  - Helper function that wraps any error and generates a 
REQUEST_HEADER_FIELDS_TOO_LARGEresponse. - Error
Request Timeout  - Helper function that wraps any error and generates a 
REQUEST_TIMEOUTresponse. - Error
Service Unavailable  - Helper function that wraps any error and generates a 
SERVICE_UNAVAILABLEresponse. - Error
TooMany Requests  - Helper function that wraps any error and generates a 
TOO_MANY_REQUESTSresponse. - Error
Unauthorized  - Helper function that wraps any error and generates a 
UNAUTHORIZEDresponse. - Error
Unavailable ForLegal Reasons  - Helper function that wraps any error and generates a 
UNAVAILABLE_FOR_LEGAL_REASONSresponse. - Error
Unprocessable Entity  - Helper function that wraps any error and generates a 
UNPROCESSABLE_ENTITYresponse. - Error
Unsupported Media Type  - Helper function that wraps any error and generates a 
UNSUPPORTED_MEDIA_TYPEresponse. - Error
Upgrade Required  - Helper function that wraps any error and generates a 
UPGRADE_REQUIREDresponse. - Error
UriToo Long  - Helper function that wraps any error and generates a 
URI_TOO_LONGresponse. - Error
Variant Also Negotiates  - Helper function that wraps any error and generates a 
VARIANT_ALSO_NEGOTIATESresponse.