pub enum CompressionAlgo {
Brotli9,
Brotli10,
Brotli11,
Zlib,
}
Expand description
The compression algorithm type.
See:
Variants§
Brotli9
The fastest brotli compression level.
Brotli10
The default brotli compression level.
Brotli11
The best brotli compression level.
Zlib
The zlib compression.
Trait Implementations§
Source§impl Clone for CompressionAlgo
impl Clone for CompressionAlgo
Source§fn clone(&self) -> CompressionAlgo
fn clone(&self) -> CompressionAlgo
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 Debug for CompressionAlgo
impl Debug for CompressionAlgo
Source§impl From<CompressionAlgo> for VariantCompressor
impl From<CompressionAlgo> for VariantCompressor
Source§fn from(algo: CompressionAlgo) -> VariantCompressor
fn from(algo: CompressionAlgo) -> VariantCompressor
Converts to this type from the input type.
Source§impl PartialEq for CompressionAlgo
impl PartialEq for CompressionAlgo
impl Copy for CompressionAlgo
impl Eq for CompressionAlgo
impl StructuralPartialEq for CompressionAlgo
Auto Trait Implementations§
impl Freeze for CompressionAlgo
impl RefUnwindSafe for CompressionAlgo
impl Send for CompressionAlgo
impl Sync for CompressionAlgo
impl Unpin for CompressionAlgo
impl UnwindSafe for CompressionAlgo
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