pub enum HpackIntegerParseError {
InvalidPrefixBits {
prefix_bits: u8,
},
Incomplete {
required: usize,
available: usize,
},
Overflow,
}Expand description
Failure to parse an HPACK integer.
Variants§
InvalidPrefixBits
The prefix width is outside the inclusive range 1 through 8.
Incomplete
The input ended before the first octet or a terminating continuation octet.
Fields
Overflow
The encoded number cannot be represented as a u64.
Trait Implementations§
Source§impl Clone for HpackIntegerParseError
impl Clone for HpackIntegerParseError
impl Copy for HpackIntegerParseError
Source§impl Debug for HpackIntegerParseError
impl Debug for HpackIntegerParseError
Source§impl Display for HpackIntegerParseError
impl Display for HpackIntegerParseError
impl Eq for HpackIntegerParseError
Source§impl PartialEq for HpackIntegerParseError
impl PartialEq for HpackIntegerParseError
impl StructuralPartialEq for HpackIntegerParseError
Auto Trait Implementations§
impl Freeze for HpackIntegerParseError
impl RefUnwindSafe for HpackIntegerParseError
impl Send for HpackIntegerParseError
impl Sync for HpackIntegerParseError
impl Unpin for HpackIntegerParseError
impl UnsafeUnpin for HpackIntegerParseError
impl UnwindSafe for HpackIntegerParseError
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