pub enum QpackDecoderFeedbackError {
InsertCountRegression {
known_received_count: u64,
decoder_insert_count: u64,
},
InsertCountAdvanceOverflow {
known_received_count: u64,
increment: u64,
},
InstructionBuild(QpackDecoderInstructionBuildError),
}Expand description
Failure while emitting caller-owned QPACK decoder feedback.
Variants§
InsertCountRegression
The supplied decoder insert count regressed below local accounting.
Fields
InsertCountAdvanceOverflow
Advancing local accounting would overflow u64.
Fields
InstructionBuild(QpackDecoderInstructionBuildError)
A canonical decoder instruction could not be built.
Tuple Fields
§
0: QpackDecoderInstructionBuildErrorThe nested local instruction build failure.
Implementations§
Source§impl QpackDecoderFeedbackError
impl QpackDecoderFeedbackError
Sourcepub const fn is_provisioning_error(self) -> bool
pub const fn is_provisioning_error(self) -> bool
Returns whether this failure is insufficient caller-owned output storage.
Trait Implementations§
Source§impl Clone for QpackDecoderFeedbackError
impl Clone for QpackDecoderFeedbackError
impl Copy for QpackDecoderFeedbackError
Source§impl Debug for QpackDecoderFeedbackError
impl Debug for QpackDecoderFeedbackError
Source§impl Display for QpackDecoderFeedbackError
impl Display for QpackDecoderFeedbackError
impl Eq for QpackDecoderFeedbackError
Source§impl Error for QpackDecoderFeedbackError
impl Error for QpackDecoderFeedbackError
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 QpackDecoderFeedbackError
Auto Trait Implementations§
impl Freeze for QpackDecoderFeedbackError
impl RefUnwindSafe for QpackDecoderFeedbackError
impl Send for QpackDecoderFeedbackError
impl Sync for QpackDecoderFeedbackError
impl Unpin for QpackDecoderFeedbackError
impl UnsafeUnpin for QpackDecoderFeedbackError
impl UnwindSafe for QpackDecoderFeedbackError
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