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

Failed to read the marker.

Failed to read the data.

The type decoded isn't match with the expected one.

Out of range integral type conversion attempted.

Trait Implementations

impl Debug for NumValueReadError
[src]

Formats the value using the given formatter.

impl Error for NumValueReadError
[src]

A short description of the error. Read more

The lower-level cause of this error, if any. Read more

impl Display for NumValueReadError
[src]

Formats the value using the given formatter. Read more

impl From<MarkerReadError> for NumValueReadError
[src]

Performs the conversion.

impl From<ValueReadError> for NumValueReadError
[src]

Performs the conversion.