pub enum JsonErrorKind {
Syntax,
Data,
EndOfInput,
Io,
}Expand description
JSON parser failure category without response values or parser error prose.
Variants§
Syntax
JSON grammar or encoding is invalid.
Data
The JSON shape does not match the envelope, including duplicate fields.
EndOfInput
The input ends before the JSON value is complete.
Io
The underlying JSON parser reported an I/O failure.
Trait Implementations§
Source§impl Clone for JsonErrorKind
impl Clone for JsonErrorKind
impl Copy for JsonErrorKind
Source§impl Debug for JsonErrorKind
impl Debug for JsonErrorKind
impl Eq for JsonErrorKind
Source§impl PartialEq for JsonErrorKind
impl PartialEq for JsonErrorKind
impl StructuralPartialEq for JsonErrorKind
Auto Trait Implementations§
impl Freeze for JsonErrorKind
impl RefUnwindSafe for JsonErrorKind
impl Send for JsonErrorKind
impl Sync for JsonErrorKind
impl Unpin for JsonErrorKind
impl UnsafeUnpin for JsonErrorKind
impl UnwindSafe for JsonErrorKind
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more