Enum actix_web::error::JsonPayloadError [−][src]
pub enum JsonPayloadError {
Overflow,
ContentType,
Deserialize(JsonError),
Payload(PayloadError),
}Expand description
A set of errors that can occur during parsing json payloads
Variants
Overflow
Payload size is bigger than allowed. (default: 32kB)
ContentType
Content type error
Deserialize(JsonError)
Tuple Fields
0: JsonErrorDeserialize error
Payload(PayloadError)
Tuple Fields
0: PayloadErrorPayload error
Trait Implementations
Performs the conversion.
Performs the conversion.
Auto Trait Implementations
impl !RefUnwindSafe for JsonPayloadError
impl Send for JsonPayloadError
impl Sync for JsonPayloadError
impl Unpin for JsonPayloadError
impl !UnwindSafe for JsonPayloadError
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span, returning an
Instrumented wrapper. 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
