pub struct ExtraBytesBuilder { /* private fields */ }Expand description
Mutable extra-bytes accumulator threaded through hook invocations.
Hooks may append; they cannot read prior policy-invariant fields.
Wraps the existing bytes::BytesMut shape so the L1 builder can
adopt it without re-allocating after the hook returns.
Implementations§
Trait Implementations§
Source§impl Debug for ExtraBytesBuilder
impl Debug for ExtraBytesBuilder
Source§impl Default for ExtraBytesBuilder
impl Default for ExtraBytesBuilder
Source§fn default() -> ExtraBytesBuilder
fn default() -> ExtraBytesBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ExtraBytesBuilder
impl RefUnwindSafe for ExtraBytesBuilder
impl Send for ExtraBytesBuilder
impl Sync for ExtraBytesBuilder
impl Unpin for ExtraBytesBuilder
impl UnsafeUnpin for ExtraBytesBuilder
impl UnwindSafe for ExtraBytesBuilder
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