Module axum::extract::rejection [−][src]
Expand description
Rejection response types.
Structs
Rejection type used if you try and extract the request body more than once.
Rejection used if the method has been taken by another extractor.
Rejection type for extractors that buffer the request body. Used if the request body cannot be buffered due to an error.
Rejection type for extractors that deserialize query strings if the input couldn’t be deserialized into the target type.
Rejection used if the URI has been taken by another extractor.
Rejection type used if you try and extract the request more than once.
Rejection type for Json
.
Rejection type for UrlParams
if the capture route
param didn’t have the expected type.
Rejection type used when buffering the request into a String
if the
body doesn’t contain valid UTF-8.
Rejection type for ContentLengthLimit
if
the request is missing the Content-Length
header or it is invalid.
Rejection used if the method has been taken by another extractor.
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 for UrlParamsMap
and
UrlParams
if you try and extract the URL params
more than once.
Rejection type for ContentLengthLimit
if
the request body is too large.
Rejection type for Query
.
Rejection type used if you try and extract the request more than once.
headers
Rejection used for TypedHeader
.
Rejection used if the URI has been taken by another extractor.
Rejection used if the HTTP version has been taken by another extractor.