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_GATEWAY
response. - Error
BadRequest - Helper function that wraps any error and generates a
BAD_REQUEST
response. - Error
Conflict - Helper function that wraps any error and generates a
CONFLICT
response. - Error
Expectation Failed - Helper function that wraps any error and generates a
EXPECTATION_FAILED
response. - Error
Failed Dependency - Helper function that wraps any error and generates a
FAILED_DEPENDENCY
response. - Error
Forbidden - Helper function that wraps any error and generates a
FORBIDDEN
response. - Error
Gateway Timeout - Helper function that wraps any error and generates a
GATEWAY_TIMEOUT
response. - Error
Gone - Helper function that wraps any error and generates a
GONE
response. - Error
Http Version NotSupported - Helper function that wraps any error and generates a
HTTP_VERSION_NOT_SUPPORTED
response. - Error
ImATeapot - Helper function that wraps any error and generates a
IM_A_TEAPOT
response. - Error
Insufficient Storage - Helper function that wraps any error and generates a
INSUFFICIENT_STORAGE
response. - Error
Internal Server Error - Helper function that wraps any error and generates a
INTERNAL_SERVER_ERROR
response. - Error
Length Required - Helper function that wraps any error and generates a
LENGTH_REQUIRED
response. - Error
Locked - Helper function that wraps any error and generates a
LOCKED
response. - Error
Loop Detected - Helper function that wraps any error and generates a
LOOP_DETECTED
response. - Error
Method NotAllowed - Helper function that wraps any error and generates a
METHOD_NOT_ALLOWED
response. - Error
Misdirected Request - Helper function that wraps any error and generates a
MISDIRECTED_REQUEST
response. - Error
Network Authentication Required - Helper function that wraps any error and generates a
NETWORK_AUTHENTICATION_REQUIRED
response. - Error
NotAcceptable - Helper function that wraps any error and generates a
NOT_ACCEPTABLE
response. - Error
NotExtended - Helper function that wraps any error and generates a
NOT_EXTENDED
response. - Error
NotFound - Helper function that wraps any error and generates a
NOT_FOUND
response. - Error
NotImplemented - Helper function that wraps any error and generates a
NOT_IMPLEMENTED
response. - Error
Payload TooLarge - Helper function that wraps any error and generates a
PAYLOAD_TOO_LARGE
response. - Error
Payment Required - Helper function that wraps any error and generates a
PAYMENT_REQUIRED
response. - Error
Precondition Failed - Helper function that wraps any error and generates a
PRECONDITION_FAILED
response. - Error
Precondition Required - Helper function that wraps any error and generates a
PRECONDITION_REQUIRED
response. - Error
Proxy Authentication Required - Helper function that wraps any error and generates a
PROXY_AUTHENTICATION_REQUIRED
response. - Error
Range NotSatisfiable - Helper function that wraps any error and generates a
RANGE_NOT_SATISFIABLE
response. - Error
Request Header Fields TooLarge - Helper function that wraps any error and generates a
REQUEST_HEADER_FIELDS_TOO_LARGE
response. - Error
Request Timeout - Helper function that wraps any error and generates a
REQUEST_TIMEOUT
response. - Error
Service Unavailable - Helper function that wraps any error and generates a
SERVICE_UNAVAILABLE
response. - Error
TooMany Requests - Helper function that wraps any error and generates a
TOO_MANY_REQUESTS
response. - Error
Unauthorized - Helper function that wraps any error and generates a
UNAUTHORIZED
response. - Error
Unavailable ForLegal Reasons - Helper function that wraps any error and generates a
UNAVAILABLE_FOR_LEGAL_REASONS
response. - Error
Unprocessable Entity - Helper function that wraps any error and generates a
UNPROCESSABLE_ENTITY
response. - Error
Unsupported Media Type - Helper function that wraps any error and generates a
UNSUPPORTED_MEDIA_TYPE
response. - Error
Upgrade Required - Helper function that wraps any error and generates a
UPGRADE_REQUIRED
response. - Error
UriToo Long - Helper function that wraps any error and generates a
URI_TOO_LONG
response. - Error
Variant Also Negotiates - Helper function that wraps any error and generates a
VARIANT_ALSO_NEGOTIATES
response.