pub struct StreamingCompressor { /* private fields */ }Expand description
Streaming compression wrapper for large files
Implementations§
Source§impl StreamingCompressor
impl StreamingCompressor
pub fn new(method: CompressionMethod, level: u32) -> Self
Sourcepub fn create_writer<W: Write + 'static>(&self, writer: W) -> Box<dyn Write>
pub fn create_writer<W: Write + 'static>(&self, writer: W) -> Box<dyn Write>
Create a compressor writer for streaming compression
Auto Trait Implementations§
impl Freeze for StreamingCompressor
impl RefUnwindSafe for StreamingCompressor
impl Send for StreamingCompressor
impl Sync for StreamingCompressor
impl Unpin for StreamingCompressor
impl UnwindSafe for StreamingCompressor
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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