Enum zstd_sys::ZSTD_literalCompressionMode_e [−][src]
#[repr(u32)] pub enum ZSTD_literalCompressionMode_e { ZSTD_lcm_auto, ZSTD_lcm_huffman, ZSTD_lcm_uncompressed, }
Variants
< Automatically determine the compression mode based on the compression level. Negative compression levels will be uncompressed, and positive compression levels will be compressed.
< Always attempt Huffman compression. Uncompressed literals will still be emitted if Huffman compression is not profitable.
< Always emit uncompressed literals.
Trait Implementations
impl Clone for ZSTD_literalCompressionMode_e
[src]
impl Clone for ZSTD_literalCompressionMode_e
[src]fn clone(&self) -> ZSTD_literalCompressionMode_e
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for ZSTD_literalCompressionMode_e
[src]
impl Debug for ZSTD_literalCompressionMode_e
[src]impl Hash for ZSTD_literalCompressionMode_e
[src]
impl Hash for ZSTD_literalCompressionMode_e
[src]impl PartialEq<ZSTD_literalCompressionMode_e> for ZSTD_literalCompressionMode_e
[src]
impl PartialEq<ZSTD_literalCompressionMode_e> for ZSTD_literalCompressionMode_e
[src]fn eq(&self, other: &ZSTD_literalCompressionMode_e) -> bool
[src]
#[must_use]pub fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
pub fn ne(&self, other: &Rhs) -> bool