Enum zarrs::array::codec::bytes_to_bytes::blosc::BloscCompressor
source · pub enum BloscCompressor {
BloscLZ,
LZ4,
LZ4HC,
Snappy,
Zlib,
Zstd,
}
Available on crate feature
blosc
only.Expand description
The blosc
compressor.
Variants§
BloscLZ
LZ4
LZ4: a compact, very popular and fast compressor.
LZ4HC
LZ4HC: a tweaked version of LZ4, produces better compression ratios at the expense of speed.
Snappy
Snappy: a popular compressor used in many places.
Zlib
Zlib: a classic; somewhat slower than the previous ones, but achieving better compression ratios.
Zstd
Zstd: an extremely well balanced codec; it provides the best compression ratios among the others above, and at reasonably fast speed.
Trait Implementations§
source§impl Clone for BloscCompressor
impl Clone for BloscCompressor
source§fn clone(&self) -> BloscCompressor
fn clone(&self) -> BloscCompressor
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for BloscCompressor
impl Debug for BloscCompressor
source§impl<'de> Deserialize<'de> for BloscCompressor
impl<'de> Deserialize<'de> for BloscCompressor
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq for BloscCompressor
impl PartialEq for BloscCompressor
source§fn eq(&self, other: &BloscCompressor) -> bool
fn eq(&self, other: &BloscCompressor) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for BloscCompressor
impl Serialize for BloscCompressor
impl Copy for BloscCompressor
impl Eq for BloscCompressor
impl StructuralPartialEq for BloscCompressor
Auto Trait Implementations§
impl Freeze for BloscCompressor
impl RefUnwindSafe for BloscCompressor
impl Send for BloscCompressor
impl Sync for BloscCompressor
impl Unpin for BloscCompressor
impl UnwindSafe for BloscCompressor
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.