Enum actix_web::client::JsonPayloadError [−][src]
pub enum JsonPayloadError {
ContentType,
Deserialize(Error),
Payload(PayloadError),
}
Expand description
A set of errors that can occur during parsing json payloads
Variants
ContentType
Content type error
Deserialize(Error)
Tuple Fields
0: Error
Deserialize error
Payload(PayloadError)
Tuple Fields
0: PayloadError
Payload error
Trait Implementations
Performs the conversion.
Performs the conversion.
Performs the conversion.
Return InternalServerError
for JsonPayloadError
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
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