Enum rmp::decode::DecodeStringError [] [src]

pub enum DecodeStringError<'a> {
    InvalidMarkerRead(Error),
    InvalidDataRead(Error),
    TypeMismatch(Marker),
    BufferSizeTooSmall(u32),
    InvalidUtf8(&'a [u8]Utf8Error),
}

Variants

The given buffer is not large enough to accumulate the specified amount of bytes.

Trait Implementations

impl<'a> Debug for DecodeStringError<'a>
[src]

Formats the value using the given formatter.

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

A short description of the error. Read more

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

impl<'a> Display for DecodeStringError<'a>
[src]

Formats the value using the given formatter. Read more

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

Performs the conversion.