Module rejection

Source
Expand description

Rejection response types.

Structs§

InvalidUtf8
Rejection type used when buffering the request into a String if the body doesn’t contain valid UTF-8.
LengthLimitError
Encountered some other error when buffering the body.
UnknownBodyError
Encountered an unknown error when buffering the body.

Enums§

BytesRejection
Rejection used for Bytes.
FailedToBufferBody
Rejection type for extractors that buffer the request body. Used if the request body cannot be buffered due to an error.
StringRejection
Rejection used for String.