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 duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§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
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
Auto Trait Implementations§
impl Freeze for DirEncoder
impl RefUnwindSafe for DirEncoder
impl Send for DirEncoder
impl Sync for DirEncoder
impl Unpin for DirEncoder
impl UnwindSafe for DirEncoder
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