pub struct DeserializeError(/* private fields */);
Expand description
An error that occurs when deserializing an object defined in this crate.
Serialization, as used in this crate, universally refers to the process
of transforming a structure (like a DFA) into a custom binary format
represented by &[u8]
. Deserialization, then, refers to the process of
cheaply converting this binary format back to the object’s in-memory
representation as defined in this crate. To the extent possible,
deserialization will report this error whenever this process fails.
A DeserializeError
provides no introspection capabilities. Its only
supported operation is conversion to a human readable error message.
This error type implements the std::error::Error
trait only when the
std
feature is enabled. Otherwise, this type is defined in all
configurations.
Trait Implementations§
source§impl Debug for DeserializeError
impl Debug for DeserializeError
source§impl Display for DeserializeError
impl Display for DeserializeError
source§impl Error for DeserializeError
Available on crate feature std
only.
impl Error for DeserializeError
std
only.