Struct fdeflate::compress::Compressor
source · pub struct Compressor<W: Write> {
checksum: Adler32,
buffer: u64,
nbits: u8,
writer: W,
}
Expand description
Compressor that produces fdeflate compressed streams.
Fields§
§checksum: Adler32
§buffer: u64
§nbits: u8
§writer: W
Implementations§
source§impl<W: Write> Compressor<W>
impl<W: Write> Compressor<W>
Auto Trait Implementations§
impl<W> Freeze for Compressor<W>where
W: Freeze,
impl<W> RefUnwindSafe for Compressor<W>where
W: RefUnwindSafe,
impl<W> Send for Compressor<W>where
W: Send,
impl<W> Sync for Compressor<W>where
W: Sync,
impl<W> Unpin for Compressor<W>where
W: Unpin,
impl<W> UnwindSafe for Compressor<W>where
W: UnwindSafe,
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