Enum rmp::decode::ValueReadError [] [src]

pub enum ValueReadError {
    InvalidMarkerRead(Error),
    InvalidDataRead(Error),
    TypeMismatch(Marker),
}

An error which can occur when attempting to read a MessagePack 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.

Trait Implementations

impl Debug for ValueReadError
[src]

Formats the value using the given formatter.

impl Error for ValueReadError
[src]

A short description of the error. Read more

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

impl Display for ValueReadError
[src]

Formats the value using the given formatter. Read more

impl From<MarkerReadError> for ValueReadError
[src]

Performs the conversion.