pub enum Compressor {
BloscLZ,
LZ4,
LZ4HC,
Snappy,
Zlib,
Zstd,
// some variants omitted
}Expand description
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§
Source§impl Clone for Compressor
impl Clone for Compressor
Source§fn clone(&self) -> Compressor
fn clone(&self) -> Compressor
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for Compressor
impl Debug for Compressor
Source§impl From<Compressor> for *const c_char
impl From<Compressor> for *const c_char
Source§fn from(compressor: Compressor) -> Self
fn from(compressor: Compressor) -> Self
Converts to this type from the input type.
Source§impl Hash for Compressor
impl Hash for Compressor
Source§impl PartialEq for Compressor
impl PartialEq for Compressor
impl Copy for Compressor
impl Eq for Compressor
impl StructuralPartialEq for Compressor
Auto Trait Implementations§
impl Freeze for Compressor
impl RefUnwindSafe for Compressor
impl Send for Compressor
impl Sync for Compressor
impl Unpin for Compressor
impl UnwindSafe for Compressor
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)