pub enum JsonErrorKind {
Show 16 variants
Eof,
TrailingCharacters,
UnexpectedToken,
InvalidLiteral,
InvalidNumber,
InvalidEscape,
InvalidUnicodeEscape,
InvalidUnicodeSurrogate,
ControlCharacterInString,
InvalidUtf8,
MaxDepthExceeded,
MaxStringLengthExceeded,
MaxArrayLengthExceeded,
MaxObjectLengthExceeded,
MaxNodeCountExceeded,
DuplicateObjectKey,
}Variants§
Eof
TrailingCharacters
UnexpectedToken
InvalidLiteral
InvalidNumber
InvalidEscape
InvalidUnicodeEscape
InvalidUnicodeSurrogate
ControlCharacterInString
InvalidUtf8
MaxDepthExceeded
MaxStringLengthExceeded
MaxArrayLengthExceeded
MaxObjectLengthExceeded
MaxNodeCountExceeded
DuplicateObjectKey
Trait Implementations§
Source§impl Clone for JsonErrorKind
impl Clone for JsonErrorKind
Source§fn clone(&self) -> JsonErrorKind
fn clone(&self) -> JsonErrorKind
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for JsonErrorKind
impl Debug for JsonErrorKind
Source§impl PartialEq for JsonErrorKind
impl PartialEq for JsonErrorKind
Source§fn eq(&self, other: &JsonErrorKind) -> bool
fn eq(&self, other: &JsonErrorKind) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for JsonErrorKind
impl Eq 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