pub struct QpackFieldLines<'a> { /* private fields */ }Expand description
A validated sequence of QPACK field lines backed by its encoded bytes.
Implementations§
Source§impl<'a> QpackFieldLines<'a>
impl<'a> QpackFieldLines<'a>
Sourcepub fn parse(bytes: &'a [u8]) -> Result<Self, QpackFieldLinesParseError>
pub fn parse(bytes: &'a [u8]) -> Result<Self, QpackFieldLinesParseError>
Validates and borrows every field line in bytes.
Sourcepub const fn iter(self) -> QpackFieldLineIter<'a> ⓘ
pub const fn iter(self) -> QpackFieldLineIter<'a> ⓘ
Iterates over the field lines in this sequence.
Trait Implementations§
Source§impl<'a> Clone for QpackFieldLines<'a>
impl<'a> Clone for QpackFieldLines<'a>
impl<'a> Copy for QpackFieldLines<'a>
Source§impl<'a> Debug for QpackFieldLines<'a>
impl<'a> Debug for QpackFieldLines<'a>
impl<'a> Eq for QpackFieldLines<'a>
Source§impl<'a> PartialEq for QpackFieldLines<'a>
impl<'a> PartialEq for QpackFieldLines<'a>
impl<'a> StructuralPartialEq for QpackFieldLines<'a>
Auto Trait Implementations§
impl<'a> Freeze for QpackFieldLines<'a>
impl<'a> RefUnwindSafe for QpackFieldLines<'a>
impl<'a> Send for QpackFieldLines<'a>
impl<'a> Sync for QpackFieldLines<'a>
impl<'a> Unpin for QpackFieldLines<'a>
impl<'a> UnsafeUnpin for QpackFieldLines<'a>
impl<'a> UnwindSafe for QpackFieldLines<'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