pub enum DecoderError {
UnsupportedMajorType,
UnknownAdditionalInfo,
IncompleteCborData,
TooMuchNesting,
InvalidUtf8,
ExtraneousData,
OutOfOrderKey,
NonMinimalCborEncoding,
UnsupportedSimpleValue,
UnsupportedFloatingPointValue,
OutOfRangeIntegerValue,
}Expand description
Possible errors from a deserialization operation.
Variants§
UnsupportedMajorType
UnknownAdditionalInfo
IncompleteCborData
TooMuchNesting
InvalidUtf8
ExtraneousData
OutOfOrderKey
NonMinimalCborEncoding
UnsupportedSimpleValue
UnsupportedFloatingPointValue
OutOfRangeIntegerValue
Trait Implementations§
Source§impl Debug for DecoderError
impl Debug for DecoderError
Source§impl PartialEq for DecoderError
impl PartialEq for DecoderError
Source§fn eq(&self, other: &DecoderError) -> bool
fn eq(&self, other: &DecoderError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for DecoderError
Auto Trait Implementations§
impl Freeze for DecoderError
impl RefUnwindSafe for DecoderError
impl Send for DecoderError
impl Sync for DecoderError
impl Unpin for DecoderError
impl UnsafeUnpin for DecoderError
impl UnwindSafe for DecoderError
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