Enum axum::extract::rejection::FormRejection [−][src]
#[non_exhaustive] pub enum FormRejection { InvalidFormContentType(InvalidFormContentType), QueryStringMissing(QueryStringMissing), FailedToDeserializeQueryString(FailedToDeserializeQueryString), FailedToBufferBody(FailedToBufferBody), BodyAlreadyExtracted(BodyAlreadyExtracted), UriAlreadyExtracted(UriAlreadyExtracted), HeadersAlreadyExtracted(HeadersAlreadyExtracted), MethodAlreadyExtracted(MethodAlreadyExtracted), }
Expand description
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Tuple Fields of InvalidFormContentType
Tuple Fields of QueryStringMissing
Tuple Fields of FailedToDeserializeQueryString
Tuple Fields of FailedToBufferBody
Tuple Fields of BodyAlreadyExtracted
Tuple Fields of UriAlreadyExtracted
Tuple Fields of HeadersAlreadyExtracted
Tuple Fields of MethodAlreadyExtracted
Trait Implementations
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Create a response.
Auto Trait Implementations
impl !RefUnwindSafe for FormRejection
impl Send for FormRejection
impl Sync for FormRejection
impl Unpin for FormRejection
impl !UnwindSafe for FormRejection
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
Create a new Policy
that returns Action::Follow
only if self
and other
return
Action::Follow
. Read more
type Output = T
type Output = T
Should always be Self