pub struct StreamingArchive { /* private fields */ }Expand description
Streaming archive builder for large repositories.
This allows building archives incrementally to avoid loading all files into memory at once.
Implementations§
Source§impl StreamingArchive
impl StreamingArchive
Sourcepub fn new(format: ArchiveFormat, capacity: usize) -> Self
pub fn new(format: ArchiveFormat, capacity: usize) -> Self
Create a new streaming archive builder.
Sourcepub fn format(&self) -> ArchiveFormat
pub fn format(&self) -> ArchiveFormat
Get the format of this archive.
Auto Trait Implementations§
impl Freeze for StreamingArchive
impl RefUnwindSafe for StreamingArchive
impl Send for StreamingArchive
impl Sync for StreamingArchive
impl Unpin for StreamingArchive
impl UnsafeUnpin for StreamingArchive
impl UnwindSafe for StreamingArchive
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