Expand description
Rejection response types.
Re-exports
pub use crate::extract::path::FailedToDeserializePathParams;pub use crate::extract::path::InvalidUtf8InPathParam;
Structs
- Rejection type used if the
Formextractor is unable to deserialize the form into the target type. - Rejection type used if the
Formextractor is unable to deserialize the form body into the target type. - Rejection type used if the
Queryextractor is unable to deserialize the query string into the target type. - Rejection type used if the
Hostextractor is unable to resolve a host. - Rejection type used when buffering the request into a
Stringif the body doesn’t contain valid UTF-8. - Encountered some other error when buffering the body.
- Rejection type for
Extensionif an expected request extension was not found. - Rejection type used if axum’s internal representation of path parameters is missing. This is commonly caused by extracting
Request<_>.Pathmust be extracted first. - 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. - Rejection used for
Path. - Rejection used for
Query. - Rejection used for
RawForm. - Rejection used for
RawPathParams. - Rejection used for
String.