pub enum ParseErrorKind {
Show 26 variants
CommentsNotAllowed,
ExpectedColonAfterObjectKey,
ExpectedObjectValue,
ExpectedDigit,
ExpectedDigitFollowingNegativeSign,
ExpectedPlusMinusOrDigitInNumberLiteral,
ExpectedStringObjectProperty,
HexadecimalNumbersNotAllowed,
ExpectedComma,
MultipleRootJsonValues,
SingleQuotedStringsNotAllowed,
String(ParseStringErrorKind),
TrailingCommasNotAllowed,
UnaryPlusNumbersNotAllowed,
UnexpectedCloseBrace,
UnexpectedCloseBracket,
UnexpectedColon,
UnexpectedComma,
UnexpectedToken,
UnexpectedTokenInObject,
UnexpectedWord,
UnterminatedArray,
UnterminatedCommentBlock,
UnterminatedObject,
NestingDepthExceeded,
Custom(String),
}Variants§
CommentsNotAllowed
ExpectedColonAfterObjectKey
ExpectedObjectValue
ExpectedDigit
ExpectedDigitFollowingNegativeSign
ExpectedPlusMinusOrDigitInNumberLiteral
ExpectedStringObjectProperty
HexadecimalNumbersNotAllowed
ExpectedComma
MultipleRootJsonValues
SingleQuotedStringsNotAllowed
String(ParseStringErrorKind)
TrailingCommasNotAllowed
UnaryPlusNumbersNotAllowed
UnexpectedCloseBrace
UnexpectedCloseBracket
UnexpectedColon
UnexpectedComma
UnexpectedToken
UnexpectedTokenInObject
UnexpectedWord
UnterminatedArray
UnterminatedCommentBlock
UnterminatedObject
NestingDepthExceeded
Custom(String)
Custom error message, used by the serde deserializer.
Trait Implementations§
Source§impl Debug for ParseErrorKind
impl Debug for ParseErrorKind
Auto Trait Implementations§
impl Freeze for ParseErrorKind
impl RefUnwindSafe for ParseErrorKind
impl Send for ParseErrorKind
impl Sync for ParseErrorKind
impl Unpin for ParseErrorKind
impl UnsafeUnpin for ParseErrorKind
impl UnwindSafe for ParseErrorKind
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