#[non_exhaustive]pub enum DecoderErrorKind {
DuplicateStreamId,
DecodeFailed,
FeedFailed,
InvalidHeader,
}Expand description
The kind of decoder error that occurred.
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.
DuplicateStreamId
The stream ID already has a pending header block.
DecodeFailed
The C decoder returned an error during decoding.
FeedFailed
The C decoder returned an error when processing encoder stream data.
InvalidHeader
An error occurred while processing a decoded header (e.g., invalid UTF-8).
Trait Implementations§
Source§impl Clone for DecoderErrorKind
impl Clone for DecoderErrorKind
Source§fn clone(&self) -> DecoderErrorKind
fn clone(&self) -> DecoderErrorKind
Returns a duplicate 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 DecoderErrorKind
impl Debug for DecoderErrorKind
Source§impl PartialEq for DecoderErrorKind
impl PartialEq for DecoderErrorKind
impl Copy for DecoderErrorKind
impl Eq for DecoderErrorKind
impl StructuralPartialEq for DecoderErrorKind
Auto Trait Implementations§
impl Freeze for DecoderErrorKind
impl RefUnwindSafe for DecoderErrorKind
impl Send for DecoderErrorKind
impl Sync for DecoderErrorKind
impl Unpin for DecoderErrorKind
impl UnsafeUnpin for DecoderErrorKind
impl UnwindSafe for DecoderErrorKind
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