Module axum::extract::rejection [−][src]
Expand description
Rejection response types.
Re-exports
pub use crate::extract::path::FailedToDeserializePathParams;
Structs
Rejection type used if you try and extract the request body more than once.
Rejection used if the request extension 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 headers has been taken by another extractor.
Rejection type used if you try and extract the request more than once.
json
Rejection type for Json
.
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 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 should never happen and is a bug in axum if it does.
Rejection type for ContentLengthLimit
if
the request body is too large.
headers
Rejection used for TypedHeader
.
Enums
Rejection used for Bytes
.
Rejection used for ContentLengthLimit
.
Rejection used for Extension
.
Rejection used for Form
.
json
Rejection used for Json
.
Rejection used for MatchedPath
.
Rejection used for Path
.
Rejection used for Query
.
Rejection used for Request<_>
.
Rejection used for http::request::Parts
.
Rejection used for String
.
Additional information regarding a TypedHeaderRejection