Enum mpack::ReadError [] [src]

pub enum ReadError {
    Io(Error),
    NoData,
    NotExtended,
    Unrecognized(u8),
}

An error encountered while trying to read a value.

Variants

Io(Error)NoDataNotExtendedUnrecognized(u8)

Trait Implementations

impl Debug for ReadError
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

impl Error for ReadError
[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 From<Error> for ReadError
[src]

fn from(err: Error) -> ReadError

Performs the conversion.

impl Display for ReadError
[src]

fn fmt(&self, fmt: &mut Formatter) -> Result<()Error>

Formats the value using the given formatter.