pub enum QpackStringLiteralBuildError {
InvalidPrefixBits {
prefix_bits: u8,
},
HighBitsOverlap {
high_bits: u8,
prefix_bits: u8,
},
PayloadLengthTooLarge {
length: usize,
},
RequiredLengthOverflow,
BufferTooShort {
required: usize,
available: usize,
},
Length(QpackIntegerBuildError),
}Expand description
Failure to build a QPACK N-bit-prefixed string literal.
Variants§
InvalidPrefixBits
N must be in the inclusive range 2 through 8.
HighBitsOverlap
Previous-representation bits overlap H or the length prefix.
PayloadLengthTooLarge
The payload length cannot be represented as a QPACK integer.
RequiredLengthOverflow
Computing the total output length overflowed usize.
BufferTooShort
The caller destination cannot contain the complete literal.
Length(QpackIntegerBuildError)
The embedded canonical length builder failed before output mutation.
Tuple Fields
§
0: QpackIntegerBuildErrorThe nested length-builder failure.
Trait Implementations§
Source§impl Clone for QpackStringLiteralBuildError
impl Clone for QpackStringLiteralBuildError
impl Copy for QpackStringLiteralBuildError
Source§impl Debug for QpackStringLiteralBuildError
impl Debug for QpackStringLiteralBuildError
impl Eq for QpackStringLiteralBuildError
impl StructuralPartialEq for QpackStringLiteralBuildError
Auto Trait Implementations§
impl Freeze for QpackStringLiteralBuildError
impl RefUnwindSafe for QpackStringLiteralBuildError
impl Send for QpackStringLiteralBuildError
impl Sync for QpackStringLiteralBuildError
impl Unpin for QpackStringLiteralBuildError
impl UnsafeUnpin for QpackStringLiteralBuildError
impl UnwindSafe for QpackStringLiteralBuildError
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