Module rejection
Rejection response types.
Modules
Structs
-
FailedToDeserializeForm
Rejection type used if the
Formextractor is unable to deserialize the form into the target type. -
FailedToDeserializeFormBody
Rejection type used if the
Formextractor is unable to deserialize the form body into the target type. -
FailedToDeserializeQueryString
Rejection type used if the
Queryextractor is unable to deserialize the query string into the target type. -
InvalidFormContentType
Rejection type for
FormorRawFormused if theContent-Typeheader is missing or its value is notapplication/x-www-form-urlencoded. -
JsonDataError
Rejection type for
Json. -
JsonSyntaxError
Rejection type for
Json. - MatchedPathMissing Rejection if no matched path could be found.
-
MissingExtension
Rejection type for
Extensionif an expected request extension was not found. -
MissingJsonContentType
Rejection type for
Jsonused if theContent-Typeheader is missing. -
MissingPathParams
Rejection type used if axum's internal representation of path parameters
is missing. This is commonly caused by extracting
Request<_>.Pathmust be extracted first. -
NestedPathRejection
Rejection type for
NestedPath.
Enums
-
ExtensionRejection
Rejection used for
Extension. -
FormRejection
Rejection used for
Form. -
JsonRejection
Rejection used for
Json. -
MatchedPathRejection
Rejection used for
MatchedPath. -
PathRejection
Rejection used for
Path. -
QueryRejection
Rejection used for
Query. -
RawFormRejection
Rejection used for
RawForm. -
RawPathParamsRejection
Rejection used for
RawPathParams.
Type Aliases
- BoxError Alias for a type-erased error type.