pub struct ScratchBuffers {
pub read_buf: Vec<u8>,
pub xml_buf: Vec<u8>,
pub text_buf: String,
}Expand description
Scratch buffer pool for streaming operations.
Pre-allocated buffers that can be reused across operations to avoid repeated allocations in hot paths.
Fields§
§read_buf: Vec<u8>Primary buffer for reading chunks from ZIP
xml_buf: Vec<u8>Buffer for XML parsing events
text_buf: StringBuffer for text accumulation
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ScratchBuffers
impl RefUnwindSafe for ScratchBuffers
impl Send for ScratchBuffers
impl Sync for ScratchBuffers
impl Unpin for ScratchBuffers
impl UnsafeUnpin for ScratchBuffers
impl UnwindSafe for ScratchBuffers
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