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 ==
.