pub enum Decoder {
Plain,
GzipStream,
GzipParallel,
Zstd,
}Expand description
How a layer was decoded.
Variants§
Plain
An uncompressed tar.
GzipStream
One gzip stream decoded on one core as it is read (zlib-rs): small layers (below lgz’s serial threshold), one thread, or lgz switched off.
GzipParallel
Gzip decoded on all the caller’s threads with lgz’s one-pass
streaming decoder, any gzip (no flush points needed), in order, as it
is read; every member’s CRC32 and size trailer is checked.
Zstd
Zstandard.
Trait Implementations§
impl Copy for Decoder
impl Eq for Decoder
impl StructuralPartialEq for Decoder
Auto Trait Implementations§
impl Forget for Decoder
impl Freeze for Decoder
impl Move for Decoder
impl RefUnwindSafe for Decoder
impl Send for Decoder
impl Sync for Decoder
impl Unpin for Decoder
impl UnsafeUnpin for Decoder
impl UnwindSafe for Decoder
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