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

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

Represents an error that can occur when attempting to read a MessagePack'ed complex 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.

impl From<MarkerReadError> for ValueReadError
[src]

Performs the conversion.