Enum rmp::decode::ValueReadError [−][src]
pub enum ValueReadError<E: RmpReadErr = Error> {
InvalidMarkerRead(E),
InvalidDataRead(E),
TypeMismatch(Marker),
}
Expand description
An error which can occur when attempting to read a MessagePack value from the reader.
Variants
InvalidMarkerRead(E)
Failed to read the marker.
InvalidDataRead(E)
Failed to read the data.
TypeMismatch(Marker)
Tuple Fields
0: Marker
The type decoded isn’t match with the expected one.
Trait Implementations
Performs the conversion.
Performs the conversion.
Performs the conversion.