Enum actix_web::error::UrlencodedError
source · [−]#[non_exhaustive]
pub enum UrlencodedError {
Chunked,
Overflow {
size: usize,
limit: usize,
},
UnknownLength,
ContentType,
Parse(FormDeError),
Encoding,
Serialize(FormError),
Payload(PayloadError),
}
Expand description
A set of errors that can occur during parsing urlencoded payloads
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.
Chunked
Can not decode chunked transfer encoding.
Overflow
Payload size is larger than allowed. (default limit: 256kB).
UnknownLength
Payload size is now known.
ContentType
Content type error.
Parse(FormDeError)
Parse error.
Encoding
Encoding error.
Serialize(FormError)
Serialize error.
Payload(PayloadError)
Payload error.
Trait Implementations
Performs the conversion.
Performs the conversion.
Performs the conversion.
Auto Trait Implementations
impl !RefUnwindSafe for UrlencodedError
impl Send for UrlencodedError
impl Sync for UrlencodedError
impl Unpin for UrlencodedError
impl !UnwindSafe for UrlencodedError
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more