pub enum QpackDynamicTableError {
CapacityExceedsStorage {
requested: usize,
capacity: usize,
},
EntrySizeOverflow,
EntryLargerThanCapacity {
entry_size: usize,
capacity: usize,
},
InsertCountOverflow,
EvictionBlocked {
absolute_index: u64,
},
EncoderRelativeIndexUnderflow {
insert_count: u64,
index: u64,
},
FieldRelativeIndexUnderflow {
base: u64,
index: u64,
},
PostBaseIndexOverflow {
base: u64,
index: u64,
},
FutureAbsoluteIndex {
requested: u64,
insert_count: u64,
},
EvictedAbsoluteIndex {
requested: u64,
oldest_available: u64,
},
ReferenceAtOrAfterRequiredInsertCount {
requested: u64,
required_insert_count: u64,
},
}Expand description
A QPACK dynamic-table capacity, insertion, eviction, or index-resolution failure.
Variants§
CapacityExceedsStorage
The requested capacity exceeds the supplied storage’s physical capacity.
Fields
EntrySizeOverflow
The RFC entry-size calculation overflowed usize.
EntryLargerThanCapacity
The entry cannot fit within the current dynamic-table capacity.
Fields
InsertCountOverflow
A successful insertion would overflow the absolute insert count.
EvictionBlocked
An eviction required by an operation was rejected by the caller’s policy.
Fields
EncoderRelativeIndexUnderflow
An encoder-relative index exceeded the current insert count.
FieldRelativeIndexUnderflow
A field-relative index exceeded its base.
PostBaseIndexOverflow
A post-base index overflowed its base.
FutureAbsoluteIndex
An absolute index has not yet been inserted.
Fields
EvictedAbsoluteIndex
An absolute index was evicted from the active table.
Fields
ReferenceAtOrAfterRequiredInsertCount
A field-line reference is at or after its Required Insert Count.
Trait Implementations§
Source§impl Clone for QpackDynamicTableError
impl Clone for QpackDynamicTableError
impl Copy for QpackDynamicTableError
Source§impl Debug for QpackDynamicTableError
impl Debug for QpackDynamicTableError
Source§impl Display for QpackDynamicTableError
impl Display for QpackDynamicTableError
impl Eq for QpackDynamicTableError
Source§impl Error for QpackDynamicTableError
impl Error for QpackDynamicTableError
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()
Source§impl PartialEq for QpackDynamicTableError
impl PartialEq for QpackDynamicTableError
impl StructuralPartialEq for QpackDynamicTableError
Auto Trait Implementations§
impl Freeze for QpackDynamicTableError
impl RefUnwindSafe for QpackDynamicTableError
impl Send for QpackDynamicTableError
impl Sync for QpackDynamicTableError
impl Unpin for QpackDynamicTableError
impl UnsafeUnpin for QpackDynamicTableError
impl UnwindSafe for QpackDynamicTableError
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