Enum rmp::decode::NumValueReadError [−][src]
pub enum NumValueReadError<E: RmpReadErr = Error> {
InvalidMarkerRead(E),
InvalidDataRead(E),
TypeMismatch(Marker),
OutOfRange,
}
Expand description
An error which can occur when attempting to read a MessagePack numeric 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.
OutOfRange
Out of range integral type conversion attempted.
Trait Implementations
Performs the conversion.
Performs the conversion.