pub struct QpackLiteralNameReferenceFieldLine<'a> { /* private fields */ }Expand description
A literal QPACK field line with a referenced name.
Implementations§
Source§impl<'a> QpackLiteralNameReferenceFieldLine<'a>
impl<'a> QpackLiteralNameReferenceFieldLine<'a>
Sourcepub const fn as_bytes(self) -> &'a [u8]
pub const fn as_bytes(self) -> &'a [u8]
Returns the exact encoded bytes occupied by this field line.
Sourcepub const fn is_never_indexed(self) -> bool
pub const fn is_never_indexed(self) -> bool
Returns whether intermediaries must not index this field line.
Sourcepub const fn is_static(self) -> bool
pub const fn is_static(self) -> bool
Returns whether the name index refers to the static table.
Sourcepub const fn name_index(self) -> QpackInteger<'a>
pub const fn name_index(self) -> QpackInteger<'a>
Returns the encoded referenced-name index.
Sourcepub const fn value(self) -> QpackStringLiteral<'a>
pub const fn value(self) -> QpackStringLiteral<'a>
Returns the encoded field value.
Trait Implementations§
Source§impl<'a> Clone for QpackLiteralNameReferenceFieldLine<'a>
impl<'a> Clone for QpackLiteralNameReferenceFieldLine<'a>
impl<'a> Copy for QpackLiteralNameReferenceFieldLine<'a>
Source§impl<'a> Debug for QpackLiteralNameReferenceFieldLine<'a>
impl<'a> Debug for QpackLiteralNameReferenceFieldLine<'a>
impl<'a> Eq for QpackLiteralNameReferenceFieldLine<'a>
Source§impl<'a> PartialEq for QpackLiteralNameReferenceFieldLine<'a>
impl<'a> PartialEq for QpackLiteralNameReferenceFieldLine<'a>
impl<'a> StructuralPartialEq for QpackLiteralNameReferenceFieldLine<'a>
Auto Trait Implementations§
impl<'a> Freeze for QpackLiteralNameReferenceFieldLine<'a>
impl<'a> RefUnwindSafe for QpackLiteralNameReferenceFieldLine<'a>
impl<'a> Send for QpackLiteralNameReferenceFieldLine<'a>
impl<'a> Sync for QpackLiteralNameReferenceFieldLine<'a>
impl<'a> Unpin for QpackLiteralNameReferenceFieldLine<'a>
impl<'a> UnsafeUnpin for QpackLiteralNameReferenceFieldLine<'a>
impl<'a> UnwindSafe for QpackLiteralNameReferenceFieldLine<'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