[][src]Enum zstd_sys::ZSTD_literalCompressionMode_e

#[repr(u32)]pub enum ZSTD_literalCompressionMode_e {
    ZSTD_lcm_auto,
    ZSTD_lcm_huffman,
    ZSTD_lcm_uncompressed,
}

Variants

ZSTD_lcm_auto

< Automatically determine the compression mode based on the compression level. Negative compression levels will be uncompressed, and positive compression levels will be compressed.

ZSTD_lcm_huffman

< Always attempt Huffman compression. Uncompressed literals will still be emitted if Huffman compression is not profitable.

ZSTD_lcm_uncompressed

< Always emit uncompressed literals.

Trait Implementations

impl Clone for ZSTD_literalCompressionMode_e[src]

impl Copy for ZSTD_literalCompressionMode_e[src]

impl Debug for ZSTD_literalCompressionMode_e[src]

impl Eq for ZSTD_literalCompressionMode_e[src]

impl Hash for ZSTD_literalCompressionMode_e[src]

impl PartialEq<ZSTD_literalCompressionMode_e> for ZSTD_literalCompressionMode_e[src]

impl StructuralEq for ZSTD_literalCompressionMode_e[src]

impl StructuralPartialEq for ZSTD_literalCompressionMode_e[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.