Enum jomini::DeserializeErrorKind
source · pub enum DeserializeErrorKind {
Message(String),
Unsupported(String),
Scalar(ScalarError),
UnknownToken {
token_id: u16,
},
}
Expand description
The type of a Serde deserialization error.
Variants§
Message(String)
A generic Serde deserialization error
Unsupported(String)
Requested serde operation is unsupported
Scalar(ScalarError)
Error converting underlying data to desired format
UnknownToken
An unknown binary token was encountered
Trait Implementations§
source§impl Debug for DeserializeErrorKind
impl Debug for DeserializeErrorKind
source§impl PartialEq<DeserializeErrorKind> for DeserializeErrorKind
impl PartialEq<DeserializeErrorKind> for DeserializeErrorKind
source§fn eq(&self, other: &DeserializeErrorKind) -> bool
fn eq(&self, other: &DeserializeErrorKind) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DeserializeErrorKind
Auto Trait Implementations§
impl RefUnwindSafe for DeserializeErrorKind
impl Send for DeserializeErrorKind
impl Sync for DeserializeErrorKind
impl Unpin for DeserializeErrorKind
impl UnwindSafe for DeserializeErrorKind
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