Enum oasis_cbor::reader::DecoderError
source · 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
sourceimpl Debug for DecoderError
impl Debug for DecoderError
sourceimpl From<DecoderError> for DecodeError
impl From<DecoderError> for DecodeError
sourcefn from(_e: DecoderError) -> Self
fn from(_e: DecoderError) -> Self
Converts to this type from the input type.
sourceimpl PartialEq<DecoderError> for DecoderError
impl PartialEq<DecoderError> for DecoderError
sourcefn eq(&self, other: &DecoderError) -> bool
fn eq(&self, other: &DecoderError) -> bool
impl StructuralPartialEq for DecoderError
Auto Trait Implementations
impl RefUnwindSafe for DecoderError
impl Send for DecoderError
impl Sync for DecoderError
impl Unpin for DecoderError
impl UnwindSafe for DecoderError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more