pub struct QpackLiteralNameFieldLine<'a> { /* private fields */ }Expand description
A literal QPACK field line containing a literal name.
Implementations§
Source§impl<'a> QpackLiteralNameFieldLine<'a>
impl<'a> QpackLiteralNameFieldLine<'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 name(self) -> QpackStringLiteral<'a>
pub const fn name(self) -> QpackStringLiteral<'a>
Returns the encoded literal name.
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 QpackLiteralNameFieldLine<'a>
impl<'a> Clone for QpackLiteralNameFieldLine<'a>
impl<'a> Copy for QpackLiteralNameFieldLine<'a>
Source§impl<'a> Debug for QpackLiteralNameFieldLine<'a>
impl<'a> Debug for QpackLiteralNameFieldLine<'a>
impl<'a> Eq for QpackLiteralNameFieldLine<'a>
Source§impl<'a> PartialEq for QpackLiteralNameFieldLine<'a>
impl<'a> PartialEq for QpackLiteralNameFieldLine<'a>
impl<'a> StructuralPartialEq for QpackLiteralNameFieldLine<'a>
Auto Trait Implementations§
impl<'a> Freeze for QpackLiteralNameFieldLine<'a>
impl<'a> RefUnwindSafe for QpackLiteralNameFieldLine<'a>
impl<'a> Send for QpackLiteralNameFieldLine<'a>
impl<'a> Sync for QpackLiteralNameFieldLine<'a>
impl<'a> Unpin for QpackLiteralNameFieldLine<'a>
impl<'a> UnsafeUnpin for QpackLiteralNameFieldLine<'a>
impl<'a> UnwindSafe for QpackLiteralNameFieldLine<'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