pub enum QpackDecoderInstructionApplyError {
SectionAcknowledgmentWithoutOutstandingReferences {
stream_id: u64,
},
InsertCountIncrementZero,
InsertCountIncrementExceedsInsertCount {
known_received_count: u64,
increment: u64,
encoder_insert_count: u64,
},
}Expand description
A failure while applying a QPACK decoder-stream instruction to encoder accounting.
Variants§
SectionAcknowledgmentWithoutOutstandingReferences
A Section Acknowledgment named no outstanding dynamic-reference field section.
InsertCountIncrementZero
An Insert Count Increment carried an increment of zero.
InsertCountIncrementExceedsInsertCount
An Insert Count Increment would exceed the encoder’s insert count.
Implementations§
Source§impl QpackDecoderInstructionApplyError
impl QpackDecoderInstructionApplyError
Sourcepub const fn is_decoder_stream_error(self) -> bool
pub const fn is_decoder_stream_error(self) -> bool
Returns whether this failure is a QPACK decoder-stream error.
Trait Implementations§
impl Copy for QpackDecoderInstructionApplyError
impl Eq for QpackDecoderInstructionApplyError
Source§impl Error for QpackDecoderInstructionApplyError
impl Error for QpackDecoderInstructionApplyError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
impl StructuralPartialEq for QpackDecoderInstructionApplyError
Auto Trait Implementations§
impl Freeze for QpackDecoderInstructionApplyError
impl RefUnwindSafe for QpackDecoderInstructionApplyError
impl Send for QpackDecoderInstructionApplyError
impl Sync for QpackDecoderInstructionApplyError
impl Unpin for QpackDecoderInstructionApplyError
impl UnsafeUnpin for QpackDecoderInstructionApplyError
impl UnwindSafe for QpackDecoderInstructionApplyError
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