Enum rmp_serde::encode::Error [−][src]
pub enum Error { InvalidValueWrite(ValueWriteError), UnknownLength, InvalidDataModel(&'static str), DepthLimitExceeded, Syntax(String), }
Expand description
This type represents all possible errors that can occur when serializing or deserializing MessagePack data.
Variants
InvalidValueWrite(ValueWriteError)
Failed to write a MessagePack value.
Failed to serialize struct, sequence or map, because its length is unknown.
InvalidDataModel(&'static str)
Invalid Data model, i.e. Serialize trait is not implmented correctly
Depth limit exceeded
Syntax(String)
Catchall for syntax error messages.
Trait Implementations
Performs the conversion.
Auto Trait Implementations
impl !RefUnwindSafe for Error
impl !UnwindSafe for Error