Enum rmp_serde::decode::Error [] [src]

pub enum Error {
    InvalidMarkerRead(Error),
    InvalidDataRead(Error),
    TypeMismatch(Marker),
    OutOfRange,
    LengthMismatch(u32),
    Uncategorized(String),
    Syntax(String),
    Utf8Error(Utf8Error),
    DepthLimitExceeded,
}

Unstable: docs; incomplete

Variants

The actual value type isn't equal with the expected one.

Numeric cast failed due to out of range error.

Uncategorized error.

Trait Implementations

impl Debug for Error
[src]

Formats the value using the given formatter.

impl Error for Error
[src]

A short description of the error. Read more

The lower-level cause of this error, if any. Read more

impl Error for Error
[src]

Raised when a Deserialize was passed an incorrect value.

Raised when a fixed sized sequence or map was passed in the wrong amount of arguments. Read more

Raised when a Deserialize was passed an incorrect type.

Raised when a Deserialize type unexpectedly hit the end of the stream.

raised when a deserialize struct type did not receive a field.

Raised when a Deserialize struct type received an unexpected struct field.

Raised when there is general error when deserializing a type.

Raised when a Deserialize enum type received an unexpected variant.

Raised when a Deserialize struct type received more than one of the same struct field. Read more

impl Display for Error
[src]

Formats the value using the given formatter.

impl From<MarkerReadError> for Error
[src]

Performs the conversion.

impl From<Utf8Error> for Error
[src]

Performs the conversion.

impl From<ValueReadError> for Error
[src]

Performs the conversion.

impl From<NumValueReadError> for Error
[src]

Performs the conversion.

impl<'a> From<DecodeStringError<'a>> for Error
[src]

Unstable: docs; incomplete

Performs the conversion.

impl From<Error> for Error
[src]

Performs the conversion.