Enum compress_manager::DirEncoder
source · pub enum DirEncoder {
Zip,
TarGzip,
ZipGzip,
TarZstd(i32),
ZipZstd(i32),
}Expand description
Represents the compression encoding algorithm for directory.
Variants§
Zip
Archives the directory with “zip” with no compression.
TarGzip
Archives the directory with “tar” and and encodes with “Gzip” compression.
ZipGzip
Archives the directory with “zip” and and encodes with “Gzip” compression.
TarZstd(i32)
Archives the directory with “tar” and encodes with “Zstandard” compression.
ZipZstd(i32)
Archives the directory with “zip” and encodes with “Zstandard” compression.
Implementations§
Trait Implementations§
source§impl Clone for DirEncoder
impl Clone for DirEncoder
source§fn clone(&self) -> DirEncoder
fn clone(&self) -> DirEncoder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Display for DirEncoder
impl Display for DirEncoder
ref. https://doc.rust-lang.org/std/string/trait.ToString.html ref. https://doc.rust-lang.org/std/fmt/trait.Display.html Use “Self.to_string()” to directly invoke this