pub enum QpackEncoderInstructionApplyError {
CapacityExceedsMaximum {
requested: u64,
maximum: u64,
},
CapacityNotRepresentable {
value: u64,
},
CapacityChange(QpackDynamicTableError),
StaticNameIndexOutOfRange {
index: u64,
},
DynamicNameReference(QpackDynamicTableError),
DuplicateReference(QpackDynamicTableError),
LiteralNameHuffman(QpackHuffmanDecodeError),
ValueHuffman(QpackHuffmanDecodeError),
ScratchLengthOverflow,
ScratchTooShort {
required: usize,
available: usize,
},
Insert(QpackDynamicTableError),
}Expand description
Failure to apply one QPACK encoder-stream instruction.
Variants§
CapacityExceedsMaximum
A capacity instruction exceeds the configured locally advertised maximum.
CapacityNotRepresentable
A capacity cannot be represented by this target’s usize.
CapacityChange(QpackDynamicTableError)
Updating dynamic-table capacity failed.
StaticNameIndexOutOfRange
A static name-reference index is outside the static table.
DynamicNameReference(QpackDynamicTableError)
Resolving a dynamic name reference failed.
DuplicateReference(QpackDynamicTableError)
Resolving a Duplicate reference failed.
LiteralNameHuffman(QpackHuffmanDecodeError)
Decoding a literal name failed.
ValueHuffman(QpackHuffmanDecodeError)
Decoding a value failed.
ScratchLengthOverflow
Computing the required scratch length overflowed usize.
ScratchTooShort
Caller scratch storage cannot contain all required staged bytes.
Insert(QpackDynamicTableError)
Inserting the preflighted field failed.
Implementations§
Source§impl QpackEncoderInstructionApplyError
impl QpackEncoderInstructionApplyError
Sourcepub const fn is_encoder_stream_error(self) -> bool
pub const fn is_encoder_stream_error(self) -> bool
Returns whether this failure is an RFC QPACK encoder-stream error.
Trait Implementations§
impl Copy for QpackEncoderInstructionApplyError
impl Eq for QpackEncoderInstructionApplyError
Source§impl Error for QpackEncoderInstructionApplyError
impl Error for QpackEncoderInstructionApplyError
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 QpackEncoderInstructionApplyError
Auto Trait Implementations§
impl Freeze for QpackEncoderInstructionApplyError
impl RefUnwindSafe for QpackEncoderInstructionApplyError
impl Send for QpackEncoderInstructionApplyError
impl Sync for QpackEncoderInstructionApplyError
impl Unpin for QpackEncoderInstructionApplyError
impl UnsafeUnpin for QpackEncoderInstructionApplyError
impl UnwindSafe for QpackEncoderInstructionApplyError
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