pub struct QpackFieldSectionDecoder { /* private fields */ }Expand description
A QPACK field-section decoder configured with the locally advertised maximum table capacity.
Implementations§
Source§impl QpackFieldSectionDecoder
impl QpackFieldSectionDecoder
Sourcepub const fn new(maximum_dynamic_table_capacity: u64) -> Self
pub const fn new(maximum_dynamic_table_capacity: u64) -> Self
Creates a decoder configured with the locally advertised maximum dynamic-table capacity.
Sourcepub const fn maximum_dynamic_table_capacity(self) -> u64
pub const fn maximum_dynamic_table_capacity(self) -> u64
Returns the locally advertised maximum dynamic-table capacity.
Sourcepub fn decode<'output>(
&self,
encoded: &[u8],
table: &QpackDynamicTable<'_, '_>,
output: &'output mut QpackFieldSectionOutput<'_, '_>,
) -> Result<QpackFieldSectionDecodeOutcome<'output>, QpackFieldSectionDecodeError>
pub fn decode<'output>( &self, encoded: &[u8], table: &QpackDynamicTable<'_, '_>, output: &'output mut QpackFieldSectionOutput<'_, '_>, ) -> Result<QpackFieldSectionDecodeOutcome<'output>, QpackFieldSectionDecodeError>
Decodes one complete field-section payload into caller-owned output transactionally.
Trait Implementations§
Source§impl Clone for QpackFieldSectionDecoder
impl Clone for QpackFieldSectionDecoder
impl Copy for QpackFieldSectionDecoder
Source§impl Debug for QpackFieldSectionDecoder
impl Debug for QpackFieldSectionDecoder
impl Eq for QpackFieldSectionDecoder
Source§impl PartialEq for QpackFieldSectionDecoder
impl PartialEq for QpackFieldSectionDecoder
impl StructuralPartialEq for QpackFieldSectionDecoder
Auto Trait Implementations§
impl Freeze for QpackFieldSectionDecoder
impl RefUnwindSafe for QpackFieldSectionDecoder
impl Send for QpackFieldSectionDecoder
impl Sync for QpackFieldSectionDecoder
impl Unpin for QpackFieldSectionDecoder
impl UnsafeUnpin for QpackFieldSectionDecoder
impl UnwindSafe for QpackFieldSectionDecoder
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