pub enum DecodeError {
InvalidConversion(String),
InvalidType(String),
InvalidFormat(String),
IOError,
Utf8Error(String),
}Expand description
Represent error that can happen while decoding msgpack.
Variants§
InvalidConversion(String)
Failed to convert a number to the expected type.
InvalidType(String)
Payload does not match the expected type for a trace payload.
InvalidFormat(String)
Payload is not a valid msgpack object.
IOError
Failed to read the buffer.
Utf8Error(String)
The payload contains non-utf8 strings.
Trait Implementations§
Source§impl Debug for DecodeError
impl Debug for DecodeError
Source§impl Display for DecodeError
impl Display for DecodeError
Source§impl PartialEq for DecodeError
impl PartialEq for DecodeError
impl StructuralPartialEq for DecodeError
Auto Trait Implementations§
impl Freeze for DecodeError
impl RefUnwindSafe for DecodeError
impl Send for DecodeError
impl Sync for DecodeError
impl Unpin for DecodeError
impl UnsafeUnpin for DecodeError
impl UnwindSafe for DecodeError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more