pub enum QpackEncoderInstructionBuildError {
SetDynamicTableCapacity(QpackIntegerBuildError),
InsertWithNameReferenceNameIndex(QpackIntegerBuildError),
InsertWithNameReferenceValue(QpackStringLiteralBuildError),
InsertWithLiteralNameName(QpackStringLiteralBuildError),
InsertWithLiteralNameValue(QpackStringLiteralBuildError),
DuplicateIndex(QpackIntegerBuildError),
RequiredLengthOverflow,
BufferTooShort {
required: usize,
available: usize,
},
}Expand description
Failure to build a QPACK encoder-stream instruction.
Variants§
SetDynamicTableCapacity(QpackIntegerBuildError)
The Set Dynamic Table Capacity value is invalid.
Tuple Fields
§
0: QpackIntegerBuildErrorThe nested capacity-integer failure.
InsertWithNameReferenceNameIndex(QpackIntegerBuildError)
The Insert With Name Reference name index is invalid.
Tuple Fields
§
0: QpackIntegerBuildErrorThe nested name-index failure.
InsertWithNameReferenceValue(QpackStringLiteralBuildError)
The Insert With Name Reference value is invalid.
Tuple Fields
§
0: QpackStringLiteralBuildErrorThe nested value-string failure.
InsertWithLiteralNameName(QpackStringLiteralBuildError)
The Insert With Literal Name name is invalid.
Tuple Fields
§
0: QpackStringLiteralBuildErrorThe nested name-string failure.
InsertWithLiteralNameValue(QpackStringLiteralBuildError)
The Insert With Literal Name value is invalid.
Tuple Fields
§
0: QpackStringLiteralBuildErrorThe nested value-string failure.
DuplicateIndex(QpackIntegerBuildError)
The Duplicate index is invalid.
Tuple Fields
§
0: QpackIntegerBuildErrorThe nested duplicate-index failure.
RequiredLengthOverflow
Computing the total instruction length overflowed usize.
BufferTooShort
The caller destination cannot contain the complete instruction.
Trait Implementations§
impl Copy for QpackEncoderInstructionBuildError
impl Eq for QpackEncoderInstructionBuildError
impl StructuralPartialEq for QpackEncoderInstructionBuildError
Auto Trait Implementations§
impl Freeze for QpackEncoderInstructionBuildError
impl RefUnwindSafe for QpackEncoderInstructionBuildError
impl Send for QpackEncoderInstructionBuildError
impl Sync for QpackEncoderInstructionBuildError
impl Unpin for QpackEncoderInstructionBuildError
impl UnsafeUnpin for QpackEncoderInstructionBuildError
impl UnwindSafe for QpackEncoderInstructionBuildError
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