Enum rmp::decode::ValueReadError
[−]
[src]
pub enum ValueReadError { InvalidMarkerRead(Error), InvalidDataRead(Error), TypeMismatch(Marker), }
An error which can occur when attempting to read a MessagePack value from the reader.
Variants
InvalidMarkerRead(Error)
Failed to read the marker.
InvalidDataRead(Error)
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.