pub enum HpackRepresentationParseError {
IndexedIndex(HpackIntegerParseError),
IndexedFieldZero,
LiteralNameIndex(HpackIntegerParseError),
LiteralName(HpackStringLiteralParseError),
LiteralValue(HpackStringLiteralParseError),
DynamicTableSize(HpackIntegerParseError),
LengthOverflow,
}Expand description
Failure to parse an HPACK header-field representation.
Variants§
IndexedIndex(HpackIntegerParseError)
The indexed-field integer is malformed, incomplete, or overflows u64.
IndexedFieldZero
An indexed header field used forbidden index zero.
LiteralNameIndex(HpackIntegerParseError)
The literal field’s name index is malformed, incomplete, or overflows u64.
LiteralName(HpackStringLiteralParseError)
The literal field’s name string is malformed or incomplete.
LiteralValue(HpackStringLiteralParseError)
The literal field’s value string is malformed or incomplete.
DynamicTableSize(HpackIntegerParseError)
The dynamic table size integer is malformed, incomplete, or overflows u64.
LengthOverflow
Component lengths cannot be represented while framing the representation.
Trait Implementations§
impl Copy for HpackRepresentationParseError
impl Eq for HpackRepresentationParseError
impl StructuralPartialEq for HpackRepresentationParseError
Auto Trait Implementations§
impl Freeze for HpackRepresentationParseError
impl RefUnwindSafe for HpackRepresentationParseError
impl Send for HpackRepresentationParseError
impl Sync for HpackRepresentationParseError
impl Unpin for HpackRepresentationParseError
impl UnsafeUnpin for HpackRepresentationParseError
impl UnwindSafe for HpackRepresentationParseError
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