#[non_exhaustive]pub enum Code {
HashMapDuplicateKey,
SetDuplicateKey,
InvalidChar,
InvalidEscape,
InvalidKeyword,
InvalidNumber,
InvalidRadix(Option<u8>),
InvalidTag,
UnexpectedEOF,
UnmatchedDelimiter(char),
NoFloatFeature,
Serde(String),
}Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
HashMapDuplicateKey
Elaboration errors
SetDuplicateKey
InvalidChar
Parse errors
InvalidEscape
InvalidKeyword
InvalidNumber
InvalidRadix(Option<u8>)
InvalidTag
UnexpectedEOF
UnmatchedDelimiter(char)
NoFloatFeature
Feature errors
Serde(String)
Serde
Trait Implementations§
impl Eq for Code
impl StructuralPartialEq for Code
Auto Trait Implementations§
impl Freeze for Code
impl RefUnwindSafe for Code
impl Send for Code
impl Sync for Code
impl Unpin for Code
impl UnsafeUnpin for Code
impl UnwindSafe for Code
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