Enum DeflateLevel
#[non_exhaustive]
pub enum DeflateLevel
The level of compression used by the Deflate algorithm. It allows trading compression ratio for compression speed.
Variants
-
Fast = 1 The fastest possible compression mode.
-
Balanced = 6 The conserative choice between speed and ratio.
-
Best = 9 The best compression available with Deflate.
Trait Implementations
impl Clone for DeflateLevel
fn clone(&self) -> Self
impl Copy for DeflateLevel
impl Debug for DeflateLevel
fn fmt(&self, f: &mut Formatter<'_>) -> Result
impl Default for DeflateLevel
fn default() -> Self
impl Eq for DeflateLevel
impl Ord for DeflateLevel
fn cmp(&self, other: &Self) -> Ordering
impl PartialEq for DeflateLevel
fn eq(&self, other: &Self) -> bool
impl PartialOrd for DeflateLevel
fn partial_cmp(&self, other: &Self) -> Option<Ordering>