pub enum HpackIntegerBuildError {
InvalidPrefixBits {
prefix_bits: u8,
},
HighBitsOverlap {
high_bits: u8,
prefix_bits: u8,
},
BufferTooShort {
required: usize,
available: usize,
},
}Expand description
Failure to build an HPACK integer.
Variants§
InvalidPrefixBits
The prefix width is outside the inclusive range 1 through 8.
HighBitsOverlap
Supplied high bits overlap the integer-controlled low prefix bits.
BufferTooShort
The caller buffer cannot contain the complete integer representation.
Trait Implementations§
Source§impl Clone for HpackIntegerBuildError
impl Clone for HpackIntegerBuildError
impl Copy for HpackIntegerBuildError
Source§impl Debug for HpackIntegerBuildError
impl Debug for HpackIntegerBuildError
Source§impl Display for HpackIntegerBuildError
impl Display for HpackIntegerBuildError
impl Eq for HpackIntegerBuildError
Source§impl PartialEq for HpackIntegerBuildError
impl PartialEq for HpackIntegerBuildError
impl StructuralPartialEq for HpackIntegerBuildError
Auto Trait Implementations§
impl Freeze for HpackIntegerBuildError
impl RefUnwindSafe for HpackIntegerBuildError
impl Send for HpackIntegerBuildError
impl Sync for HpackIntegerBuildError
impl Unpin for HpackIntegerBuildError
impl UnsafeUnpin for HpackIntegerBuildError
impl UnwindSafe for HpackIntegerBuildError
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