Enum rmp::decode::NumValueReadError
[−]
[src]
pub enum NumValueReadError { InvalidMarkerRead(Error), InvalidDataRead(Error), TypeMismatch(Marker), OutOfRange, }
An error which can occur when attempting to read a MessagePack numeric value from the reader.
Variants
InvalidMarkerRead(Error)
Failed to read the marker.
InvalidDataRead(Error)
Failed to read the data.
TypeMismatch(Marker)
The type decoded isn't match with the expected one.
OutOfRange
Out of range integral type conversion attempted.
Trait Implementations
impl Debug for NumValueReadError
[src]
impl Error for NumValueReadError
[src]
fn description(&self) -> &str
A short description of the error. Read more
fn cause(&self) -> Option<&Error>
The lower-level cause of this error, if any. Read more
impl Display for NumValueReadError
[src]
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
Formats the value using the given formatter. Read more
impl From<MarkerReadError> for NumValueReadError
[src]
fn from(err: MarkerReadError) -> NumValueReadError
Performs the conversion.
impl From<ValueReadError> for NumValueReadError
[src]
fn from(err: ValueReadError) -> NumValueReadError
Performs the conversion.