pub enum DeserErrorKind {
Lex(LexErrorKind),
UnexpectedIdentifier(String),
InvalidKey,
MissingComma,
FloatCast(String),
IntCast(String),
}Expand description
Deserialization error kind.
Variants§
Lex(LexErrorKind)
Lexer Lex error.
UnexpectedIdentifier(String)
Unexpected identifier token.
InvalidKey
Invalid key token.
MissingComma
Missing comma.
FloatCast(String)
Float casting error.
IntCast(String)
Integer casting error.
Trait Implementations§
Source§impl Clone for DeserErrorKind
impl Clone for DeserErrorKind
Source§fn clone(&self) -> DeserErrorKind
fn clone(&self) -> DeserErrorKind
Returns a duplicate 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 DeserErrorKind
impl Debug for DeserErrorKind
Source§impl Ord for DeserErrorKind
impl Ord for DeserErrorKind
Source§fn cmp(&self, other: &DeserErrorKind) -> Ordering
fn cmp(&self, other: &DeserErrorKind) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for DeserErrorKind
impl PartialEq for DeserErrorKind
Source§impl PartialOrd for DeserErrorKind
impl PartialOrd for DeserErrorKind
impl Eq for DeserErrorKind
impl StructuralPartialEq for DeserErrorKind
Auto Trait Implementations§
impl Freeze for DeserErrorKind
impl RefUnwindSafe for DeserErrorKind
impl Send for DeserErrorKind
impl Sync for DeserErrorKind
impl Unpin for DeserErrorKind
impl UnwindSafe for DeserErrorKind
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