[][src]Enum blosc::Compressor

pub enum Compressor {
    BloscLZ,
    LZ4,
    LZ4HC,
    Snappy,
    Zlib,
    Zstd,
    // some variants omitted
}

Compressor selection.

Under the hood, Blosc supports several different compression algorithms.

Variants

BloscLZ

The default compressor, based on FastLZ. It's very fast, but the compression isn't as good as the other compressors.

LZ4

Another fast compressor. See lz4.org.

LZ4HC

Slower, higher compression version of LZ4. See lz4.org.

Snappy

Another fast compressor from Google. See Snappy

Zlib

The venerable Zlib. Slower, but better compression than most other algorithms. See zlib.net

Zstd

A high compression algorithm from Facebook. See zstd.

Trait Implementations

impl Clone for Compressor[src]

impl Copy for Compressor[src]

impl Debug for Compressor[src]

impl Eq for Compressor[src]

impl Hash for Compressor[src]

impl Into<*const i8> for Compressor[src]

impl PartialEq<Compressor> for Compressor[src]

impl StructuralEq for Compressor[src]

impl StructuralPartialEq for Compressor[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> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.