Enum actix_web::error::UrlencodedError [−][src]
pub enum UrlencodedError {
Chunked,
Overflow {
size: usize,
limit: usize,
},
UnknownLength,
ContentType,
Parse,
Payload(PayloadError),
}
Expand description
A set of errors that can occur during parsing urlencoded payloads
Variants
Chunked
Can not decode chunked transfer encoding
Overflow
Payload size is bigger than allowed. (default: 256kB)
UnknownLength
Payload size is now known
ContentType
Content type error
Parse
Parse error
Payload(PayloadError)
Tuple Fields
0: PayloadError
Payload error
Trait Implementations
Performs the conversion.
Return BadRequest
for UrlencodedError
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
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
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