pub enum DecoderError {
UnsupportedMajorType,
UnknownAdditionalInfo,
IncompleteCborData,
TooMuchNesting,
InvalidUtf8,
ExtraneousData,
OutOfOrderKey,
NonMinimalCborEncoding,
UnsupportedSimpleValue,
UnsupportedFloatingPointValue,
}Expand description
Possible errors from a deserialization operation.
Variants§
UnsupportedMajorType
UnknownAdditionalInfo
IncompleteCborData
TooMuchNesting
InvalidUtf8
ExtraneousData
OutOfOrderKey
NonMinimalCborEncoding
UnsupportedSimpleValue
UnsupportedFloatingPointValue
Trait Implementations§
Source§impl Debug for DecoderError
impl Debug for DecoderError
Source§impl From<DecoderError> for DecodeError
impl From<DecoderError> for DecodeError
Source§fn from(_e: DecoderError) -> Self
fn from(_e: DecoderError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for DecoderError
impl PartialEq for DecoderError
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 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