Enum rmp::decode::ReadError [] [src]

pub enum ReadError {
    UnexpectedEOF,
    Io(Error),
}

Represents an error that can occur when attempting to read bytes from the reader.

This is a thin wrapper over the standard io::Error type. Namely, it adds one additional error case: an unexpected EOF.

Variants

Unexpected end of file reached while reading bytes.

I/O error occurred while reading bytes.

Trait Implementations

impl Debug for ReadError
[src]

Formats the value using the given formatter.

impl Error for ReadError
[src]

A short description of the error. Read more

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

impl Display for ReadError
[src]

Formats the value using the given formatter.

impl From<Error> for ReadError
[src]

Performs the conversion.

impl From<Error> for ReadError
[src]

Performs the conversion.

impl From<MarkerReadError> for ReadError
[src]

Performs the conversion.