Expand description
Rejection response types.
Re-exports
pub use crate::extract::path::FailedToDeserializePathParams;
Structs
Rejection type used if the
Form
extractor is unable to
deserialize the form into the target type.Rejection type used if the
Query
extractor is unable to
deserialize the form into the target type.Rejection type used if the
Host
extractor is unable to
resolve a host.Rejection type used when buffering the request into a
String
if the
body doesn’t contain valid UTF-8.JsonDataError
json
Rejection type for
Json
.JsonSyntaxError
json
Rejection type for
Json
.Encountered some other error when buffering the body.
MatchedPathMissing
matched-path
Rejection if no matched path could be found.
Rejection type for
Extension
if an expected
request extension was not found.Rejection type for
Json
used if the Content-Type
header is missing.Rejection type used if axum’s internal representation of path parameters
is missing. This is commonly caused by extracting
Request<_>
. Path
must be extracted first.TypedHeaderRejection
headers
Rejection used for
TypedHeader
.Encountered an unknown error when buffering the body.
Enums
Rejection used for
Bytes
.Rejection used for
Extension
.Rejection type for extractors that buffer the request body. Used if the
request body cannot be buffered due to an error.
Rejection used for
Form
.Rejection used for
Host
.JsonRejection
json
Rejection used for
Json
.MatchedPathRejection
matched-path
Rejection used for
MatchedPath
.Rejection used for
Path
.Rejection used for
Query
.Rejection used for
RawForm
.Rejection used for
String
.TypedHeaderRejectionReason
headers
Additional information regarding a
TypedHeaderRejection