pub enum TomlErrorKind {
Show 14 variants
Eof,
UnexpectedToken,
InvalidKey,
InvalidString,
InvalidNumber,
InvalidBool,
InvalidEscape,
DuplicateKey,
UnterminatedString,
MaxDepthExceeded,
MaxStringLengthExceeded,
MaxArrayLengthExceeded,
MaxTableLengthExceeded,
MaxNodeCountExceeded,
}Variants§
Eof
UnexpectedToken
InvalidKey
InvalidString
InvalidNumber
InvalidBool
InvalidEscape
DuplicateKey
UnterminatedString
MaxDepthExceeded
MaxStringLengthExceeded
MaxArrayLengthExceeded
MaxTableLengthExceeded
MaxNodeCountExceeded
Trait Implementations§
Source§impl Clone for TomlErrorKind
impl Clone for TomlErrorKind
Source§fn clone(&self) -> TomlErrorKind
fn clone(&self) -> TomlErrorKind
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 TomlErrorKind
impl Debug for TomlErrorKind
Source§impl PartialEq for TomlErrorKind
impl PartialEq for TomlErrorKind
Source§fn eq(&self, other: &TomlErrorKind) -> bool
fn eq(&self, other: &TomlErrorKind) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for TomlErrorKind
impl Eq for TomlErrorKind
impl StructuralPartialEq for TomlErrorKind
Auto Trait Implementations§
impl Freeze for TomlErrorKind
impl RefUnwindSafe for TomlErrorKind
impl Send for TomlErrorKind
impl Sync for TomlErrorKind
impl Unpin for TomlErrorKind
impl UnsafeUnpin for TomlErrorKind
impl UnwindSafe for TomlErrorKind
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