pub enum ParseErrorKind {
Show 20 variants
CommentsNotAllowed,
ExpectedColonAfterObjectKey,
ExpectedObjectValue,
ExpectedDigit,
ExpectedDigitFollowingNegativeSign,
ExpectedPlusMinusOrDigitInNumberLiteral,
ExpectedStringObjectProperty,
MultipleRootJsonValues,
String(ParseStringErrorKind),
TrailingCommasNotAllowed,
UnexpectedCloseBrace,
UnexpectedCloseBracket,
UnexpectedColon,
UnexpectedComma,
UnexpectedToken,
UnexpectedTokenInObject,
UnexpectedWord,
UnterminatedArray,
UnterminatedCommentBlock,
UnterminatedObject,
}
Variants§
CommentsNotAllowed
ExpectedColonAfterObjectKey
ExpectedObjectValue
ExpectedDigit
ExpectedDigitFollowingNegativeSign
ExpectedPlusMinusOrDigitInNumberLiteral
ExpectedStringObjectProperty
MultipleRootJsonValues
String(ParseStringErrorKind)
TrailingCommasNotAllowed
UnexpectedCloseBrace
UnexpectedCloseBracket
UnexpectedColon
UnexpectedComma
UnexpectedToken
UnexpectedTokenInObject
UnexpectedWord
UnterminatedArray
UnterminatedCommentBlock
UnterminatedObject
Trait Implementations§
Source§impl Clone for ParseErrorKind
impl Clone for ParseErrorKind
Source§fn clone(&self) -> ParseErrorKind
fn clone(&self) -> ParseErrorKind
Returns a copy of the value. Read more
1.0.0 · 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 ParseErrorKind
impl Debug for ParseErrorKind
Source§impl Display for ParseErrorKind
impl Display for ParseErrorKind
Source§impl Hash for ParseErrorKind
impl Hash for ParseErrorKind
Source§impl PartialEq for ParseErrorKind
impl PartialEq for ParseErrorKind
impl Eq for ParseErrorKind
impl StructuralPartialEq 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 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.