Enum rmp::decode::FixedValueReadError [] [src]

pub enum FixedValueReadError {
    UnexpectedEOF,
    Io(Error),
    TypeMismatch(Marker),
}

Represents an error that can occur when attempting to read a MessagePack'ed single-byte value from the reader.

Variants

UnexpectedEOF

Unexpected end of file reached while reading the value.

Io

I/O error occurred while reading the value.

TypeMismatch

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

Trait Implementations

impl Error for FixedValueReadError

fn description(&self) -> &str

fn cause(&self) -> Option<&Error>

impl Display for FixedValueReadError

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

impl From<MarkerReadError> for FixedValueReadError

fn from(err: MarkerReadError) -> FixedValueReadError

Derived Implementations

impl Debug for FixedValueReadError

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