Enum rmp::decode::DecodeStringError
[−]
[src]
pub enum DecodeStringError<'a> { InvalidMarkerRead(Error), InvalidDataRead(Error), TypeMismatch(Marker), BufferSizeTooSmall(u32), InvalidUtf8(&'a [u8], Utf8Error), }
Variants
InvalidMarkerRead(Error)
InvalidDataRead(Error)
TypeMismatch(Marker)
BufferSizeTooSmall(u32)
The given buffer is not large enough to accumulate the specified amount of bytes.
InvalidUtf8(&'a [u8], Utf8Error)
Trait Implementations
impl<'a> Debug for DecodeStringError<'a>
[src]
impl<'a> Error for DecodeStringError<'a>
[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<'a> Display for DecodeStringError<'a>
[src]
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
Formats the value using the given formatter. Read more
impl<'a> From<ValueReadError> for DecodeStringError<'a>
[src]
fn from(err: ValueReadError) -> DecodeStringError<'a>
Performs the conversion.