Enum noak::error::DecodeErrorKind
source · #[non_exhaustive]pub enum DecodeErrorKind {
UnexpectedEoi,
InvalidPrefix,
InvalidMutf8,
InvalidIndex,
InvalidLength,
TagMismatch,
TagReserved,
InvalidTag,
InvalidDescriptor,
UnknownAttributeName,
InvalidInstruction,
AttributeNotFound,
}
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
UnexpectedEoi
InvalidPrefix
InvalidMutf8
InvalidIndex
InvalidLength
TagMismatch
TagReserved
InvalidTag
InvalidDescriptor
UnknownAttributeName
InvalidInstruction
AttributeNotFound
Trait Implementations§
source§impl Clone for DecodeErrorKind
impl Clone for DecodeErrorKind
source§fn clone(&self) -> DecodeErrorKind
fn clone(&self) -> DecodeErrorKind
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for DecodeErrorKind
impl Debug for DecodeErrorKind
source§impl Display for DecodeErrorKind
impl Display for DecodeErrorKind
source§impl PartialEq for DecodeErrorKind
impl PartialEq for DecodeErrorKind
source§fn eq(&self, other: &DecodeErrorKind) -> bool
fn eq(&self, other: &DecodeErrorKind) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for DecodeErrorKind
impl Eq for DecodeErrorKind
impl StructuralPartialEq for DecodeErrorKind
Auto Trait Implementations§
impl Freeze for DecodeErrorKind
impl RefUnwindSafe for DecodeErrorKind
impl Send for DecodeErrorKind
impl Sync for DecodeErrorKind
impl Unpin for DecodeErrorKind
impl UnwindSafe for DecodeErrorKind
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
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.