pub enum QpackStringLiteralParseError {
InvalidPrefixBits {
prefix_bits: u8,
},
Length(QpackIntegerParseError),
LengthTooLarge {
value: u64,
},
Incomplete {
required: usize,
available: usize,
},
}Expand description
Failure to parse a QPACK N-bit-prefixed string literal.
Variants§
InvalidPrefixBits
N must be in the inclusive range 2 through 8.
Length(QpackIntegerParseError)
The embedded N-1-bit length integer is invalid.
Tuple Fields
§
0: QpackIntegerParseErrorThe nested length-integer failure.
LengthTooLarge
The payload length cannot be represented as an index on this target.
Incomplete
The payload ends after the available input.
Trait Implementations§
Source§impl Clone for QpackStringLiteralParseError
impl Clone for QpackStringLiteralParseError
impl Copy for QpackStringLiteralParseError
Source§impl Debug for QpackStringLiteralParseError
impl Debug for QpackStringLiteralParseError
impl Eq for QpackStringLiteralParseError
impl StructuralPartialEq for QpackStringLiteralParseError
Auto Trait Implementations§
impl Freeze for QpackStringLiteralParseError
impl RefUnwindSafe for QpackStringLiteralParseError
impl Send for QpackStringLiteralParseError
impl Sync for QpackStringLiteralParseError
impl Unpin for QpackStringLiteralParseError
impl UnsafeUnpin for QpackStringLiteralParseError
impl UnwindSafe for QpackStringLiteralParseError
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