pub struct HpackIndexedField<'a> { /* private fields */ }Expand description
An exact borrowed RFC 7541 section 6.1 indexed header field.
Implementations§
Source§impl<'a> HpackIndexedField<'a>
impl<'a> HpackIndexedField<'a>
Sourcepub const fn index(self) -> HpackInteger<'a>
pub const fn index(self) -> HpackInteger<'a>
Returns the exact raw-preserving index representation.
Sourcepub const fn index_value(self) -> u64
pub const fn index_value(self) -> u64
Returns the decoded index value.
Trait Implementations§
Source§impl<'a> Clone for HpackIndexedField<'a>
impl<'a> Clone for HpackIndexedField<'a>
impl<'a> Copy for HpackIndexedField<'a>
Source§impl<'a> Debug for HpackIndexedField<'a>
impl<'a> Debug for HpackIndexedField<'a>
impl<'a> Eq for HpackIndexedField<'a>
Source§impl<'a> PartialEq for HpackIndexedField<'a>
impl<'a> PartialEq for HpackIndexedField<'a>
impl<'a> StructuralPartialEq for HpackIndexedField<'a>
Auto Trait Implementations§
impl<'a> Freeze for HpackIndexedField<'a>
impl<'a> RefUnwindSafe for HpackIndexedField<'a>
impl<'a> Send for HpackIndexedField<'a>
impl<'a> Sync for HpackIndexedField<'a>
impl<'a> Unpin for HpackIndexedField<'a>
impl<'a> UnsafeUnpin for HpackIndexedField<'a>
impl<'a> UnwindSafe for HpackIndexedField<'a>
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