pub struct QpackSectionAcknowledgmentBuilder<'a> { /* private fields */ }Expand description
Builds a canonical Section Acknowledgment instruction in caller-owned storage.
Implementations§
Source§impl<'a> QpackSectionAcknowledgmentBuilder<'a>
impl<'a> QpackSectionAcknowledgmentBuilder<'a>
Sourcepub fn new(destination: &'a mut [u8], stream_id: u64) -> Self
pub fn new(destination: &'a mut [u8], stream_id: u64) -> Self
Creates a builder for the supplied decoded stream ID.
Sourcepub fn build(
self,
) -> Result<QpackSectionAcknowledgment<'a>, QpackDecoderInstructionBuildError>
pub fn build( self, ) -> Result<QpackSectionAcknowledgment<'a>, QpackDecoderInstructionBuildError>
Validates all inputs and capacity before atomically writing the instruction.
Auto Trait Implementations§
impl<'a> !UnwindSafe for QpackSectionAcknowledgmentBuilder<'a>
impl<'a> Freeze for QpackSectionAcknowledgmentBuilder<'a>
impl<'a> RefUnwindSafe for QpackSectionAcknowledgmentBuilder<'a>
impl<'a> Send for QpackSectionAcknowledgmentBuilder<'a>
impl<'a> Sync for QpackSectionAcknowledgmentBuilder<'a>
impl<'a> Unpin for QpackSectionAcknowledgmentBuilder<'a>
impl<'a> UnsafeUnpin for QpackSectionAcknowledgmentBuilder<'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