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
InvalidMarkerRead(ReadError)
Failed to read the marker.
InvalidDataRead(ReadError)
Failed to read the data.
TypeMismatch(Marker)
The type decoded isn't match with the expected one.
Trait Implementations
impl Debug for ValueReadError
[src]
impl Error for ValueReadError
[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 Display for ValueReadError
[src]
impl From<MarkerReadError> for ValueReadError
[src]
fn from(err: MarkerReadError) -> ValueReadError
Performs the conversion.