Enum axum_core::extract::rejection::StringRejection [−][src]
#[non_exhaustive]
pub enum StringRejection {
BodyAlreadyExtracted(BodyAlreadyExtracted),
FailedToBufferBody(FailedToBufferBody),
InvalidUtf8(InvalidUtf8),
}
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.
BodyAlreadyExtracted(BodyAlreadyExtracted)
Tuple Fields
FailedToBufferBody(FailedToBufferBody)
Tuple Fields
InvalidUtf8(InvalidUtf8)
Tuple Fields
0: InvalidUtf8
Trait Implementations
Performs the conversion.
Performs the conversion.
Performs the conversion.
Create a response.