pub enum ErrorKind {
Message,
EndOfInput,
InvalidChar,
TypeMismatch(Option<Type>),
UnknownVariant,
MissingValue,
Unsupported128BitInteger,
Custom,
Unknow,
}Variants§
Message
EndOfInput
Decoding has (unexpectedly) reached the end of the input slice.
InvalidChar
Data item to decode is not a valid char.
TypeMismatch(Option<Type>)
UnknownVariant
An unknown enum variant was encountered.
MissingValue
A value was missing at the specified index.
Unsupported128BitInteger
128-bit integers are not supported at this time
Custom
Unknow
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ErrorKind
impl RefUnwindSafe for ErrorKind
impl Send for ErrorKind
impl Sync for ErrorKind
impl Unpin for ErrorKind
impl UnwindSafe for ErrorKind
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