Enum rmp_serialize::decode::Error
[−]
[src]
pub enum Error { InvalidMarkerRead(Error), InvalidDataRead(Error), TypeMismatch(Marker), OutOfRange, LengthMismatch(u32), Uncategorized(String), }
Unstable: docs; incomplete
Variants
InvalidMarkerRead(Error)
InvalidDataRead(Error)
TypeMismatch(Marker)
The actual value type isn't equal with the expected one.
OutOfRange
LengthMismatch(u32)
Uncategorized(String)
Uncategorized error.
Trait Implementations
impl Debug for Error
[src]
impl Error for Error
[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 Error
[src]
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
Formats the value using the given formatter. Read more
impl From<ValueReadError> for Error
[src]
fn from(err: ValueReadError) -> Error
Performs the conversion.
impl From<NumValueReadError> for Error
[src]
fn from(err: NumValueReadError) -> Error
Performs the conversion.
impl<'a> From<DecodeStringError<'a>> for Error
[src]
Unstable: docs; incomplete
fn from(err: DecodeStringError) -> Error
Performs the conversion.