pub struct Http3DecodedHeaderSection<'a> { /* private fields */ }Expand description
A semantically valid decoded HTTP/3 HEADERS field section.
This preserves the decoded QPACK section, including field ordering and indexing metadata. The reported size is the RFC 9114 uncompressed field-section size; it is advisory and does not enforce a peer SETTINGS limit.
Implementations§
Source§impl<'a> Http3DecodedHeaderSection<'a>
impl<'a> Http3DecodedHeaderSection<'a>
Sourcepub const fn section(self) -> QpackDecodedFieldSection<'a>
pub const fn section(self) -> QpackDecodedFieldSection<'a>
Returns the original decoded QPACK field section.
Sourcepub const fn kind(self) -> Http3HeadersKind
pub const fn kind(self) -> Http3HeadersKind
Returns the validated HTTP/3 field-section role.
Sourcepub const fn field_section_size(self) -> u64
pub const fn field_section_size(self) -> u64
Returns the uncompressed RFC 9114 field-section size without enforcing a SETTINGS limit.
Trait Implementations§
Source§impl<'a> Clone for Http3DecodedHeaderSection<'a>
impl<'a> Clone for Http3DecodedHeaderSection<'a>
impl<'a> Copy for Http3DecodedHeaderSection<'a>
Source§impl<'a> Debug for Http3DecodedHeaderSection<'a>
impl<'a> Debug for Http3DecodedHeaderSection<'a>
impl<'a> Eq for Http3DecodedHeaderSection<'a>
Source§impl<'a> PartialEq for Http3DecodedHeaderSection<'a>
impl<'a> PartialEq for Http3DecodedHeaderSection<'a>
impl<'a> StructuralPartialEq for Http3DecodedHeaderSection<'a>
Auto Trait Implementations§
impl<'a> Freeze for Http3DecodedHeaderSection<'a>
impl<'a> RefUnwindSafe for Http3DecodedHeaderSection<'a>
impl<'a> Send for Http3DecodedHeaderSection<'a>
impl<'a> Sync for Http3DecodedHeaderSection<'a>
impl<'a> Unpin for Http3DecodedHeaderSection<'a>
impl<'a> UnsafeUnpin for Http3DecodedHeaderSection<'a>
impl<'a> UnwindSafe for Http3DecodedHeaderSection<'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