pub struct QpackFieldSectionOutput<'bytes, 'fields> { /* private fields */ }Expand description
Caller-owned storage for decoded QPACK field-section bytes and metadata.
Implementations§
Source§impl<'bytes, 'fields> QpackFieldSectionOutput<'bytes, 'fields>
impl<'bytes, 'fields> QpackFieldSectionOutput<'bytes, 'fields>
Sourcepub fn new(
bytes: &'bytes mut [u8],
fields: &'fields mut [QpackDecodedFieldEntry],
) -> Self
pub fn new( bytes: &'bytes mut [u8], fields: &'fields mut [QpackDecodedFieldEntry], ) -> Self
Creates empty decoded field-section output backed by caller storage.
Sourcepub const fn byte_capacity(&self) -> usize
pub const fn byte_capacity(&self) -> usize
Returns the byte-storage capacity.
Sourcepub const fn field_capacity(&self) -> usize
pub const fn field_capacity(&self) -> usize
Returns the field-metadata capacity.
Auto Trait Implementations§
impl<'bytes, 'fields> !UnwindSafe for QpackFieldSectionOutput<'bytes, 'fields>
impl<'bytes, 'fields> Freeze for QpackFieldSectionOutput<'bytes, 'fields>
impl<'bytes, 'fields> RefUnwindSafe for QpackFieldSectionOutput<'bytes, 'fields>
impl<'bytes, 'fields> Send for QpackFieldSectionOutput<'bytes, 'fields>
impl<'bytes, 'fields> Sync for QpackFieldSectionOutput<'bytes, 'fields>
impl<'bytes, 'fields> Unpin for QpackFieldSectionOutput<'bytes, 'fields>
impl<'bytes, 'fields> UnsafeUnpin for QpackFieldSectionOutput<'bytes, 'fields>
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