pub enum QpackFieldSectionContextError {
FullRangeOverflow {
maximum_table_capacity: u64,
max_entries: u64,
},
ZeroMaximumEntries {
encoded_required_insert_count: u64,
},
EncodedRequiredInsertCountOutOfRange {
encoded_required_insert_count: u64,
full_range: u64,
},
MaximumValueOverflow {
total_insert_count: u64,
max_entries: u64,
},
RequiredInsertCountOverflow {
max_wrapped: u64,
encoded_required_insert_count: u64,
},
RequiredInsertCountTooOld {
reconstructed: u64,
maximum_value: u64,
full_range: u64,
},
RequiredInsertCountZero,
BaseOverflow {
required_insert_count: u64,
delta_base: u64,
},
BaseUnderflow {
required_insert_count: u64,
delta_base: u64,
},
}Expand description
A failure while resolving QPACK field-section prefix semantics.
Variants§
FullRangeOverflow
Doubling the maximum entry count overflowed u64.
Fields
ZeroMaximumEntries
A nonzero count cannot be represented when the maximum entry count is zero.
EncodedRequiredInsertCountOutOfRange
The encoded Required Insert Count exceeds the full range.
Fields
MaximumValueOverflow
Adding the maximum entry count to the decoder insert count overflowed u64.
Fields
RequiredInsertCountOverflow
Reconstructing or encoding the Required Insert Count overflowed u64.
Fields
RequiredInsertCountTooOld
The reconstructed count cannot be valid for the decoder state.
Fields
RequiredInsertCountZero
A nonzero encoded count reconstructed to zero.
BaseOverflow
Adding Delta Base to Required Insert Count overflowed u64.
BaseUnderflow
Subtracting Delta Base and one from Required Insert Count underflowed u64.
Trait Implementations§
impl Copy for QpackFieldSectionContextError
impl Eq for QpackFieldSectionContextError
Source§impl Error for QpackFieldSectionContextError
impl Error for QpackFieldSectionContextError
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 QpackFieldSectionContextError
Auto Trait Implementations§
impl Freeze for QpackFieldSectionContextError
impl RefUnwindSafe for QpackFieldSectionContextError
impl Send for QpackFieldSectionContextError
impl Sync for QpackFieldSectionContextError
impl Unpin for QpackFieldSectionContextError
impl UnsafeUnpin for QpackFieldSectionContextError
impl UnwindSafe for QpackFieldSectionContextError
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