Struct zarrs::array::codec::bytes_to_bytes::blosc::BloscCodecConfigurationV1
source · pub struct BloscCodecConfigurationV1 {
pub cname: BloscCompressor,
pub clevel: BloscCompressionLevel,
pub shuffle: BloscShuffleMode,
pub typesize: usize,
pub blocksize: Option<usize>,
}
Available on crate feature
blosc
only.Expand description
Configuration parameters for the blosc
codec (version 1.0).
Fields§
§cname: BloscCompressor
The compressor.
clevel: BloscCompressionLevel
The compression level.
shuffle: BloscShuffleMode
The shuffle mode.
Defaults to noshuffle if unspecified.
typesize: usize
The type size in bytes.
Required unless shuffle is “noshuffle”, in which case the value is ignored.
blocksize: Option<usize>
The compression block size. Automatically determined if None
or 0.
Trait Implementations§
source§impl Clone for BloscCodecConfigurationV1
impl Clone for BloscCodecConfigurationV1
source§fn clone(&self) -> BloscCodecConfigurationV1
fn clone(&self) -> BloscCodecConfigurationV1
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 BloscCodecConfigurationV1
impl Debug for BloscCodecConfigurationV1
source§impl<'de> Deserialize<'de> for BloscCodecConfigurationV1
impl<'de> Deserialize<'de> for BloscCodecConfigurationV1
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 Display for BloscCodecConfigurationV1
impl Display for BloscCodecConfigurationV1
source§impl From<BloscCodecConfigurationV1> for BloscCodecConfiguration
impl From<BloscCodecConfigurationV1> for BloscCodecConfiguration
source§fn from(original: BloscCodecConfigurationV1) -> BloscCodecConfiguration
fn from(original: BloscCodecConfigurationV1) -> BloscCodecConfiguration
Converts to this type from the input type.
source§impl PartialEq for BloscCodecConfigurationV1
impl PartialEq for BloscCodecConfigurationV1
source§fn eq(&self, other: &BloscCodecConfigurationV1) -> bool
fn eq(&self, other: &BloscCodecConfigurationV1) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for BloscCodecConfigurationV1
impl StructuralPartialEq for BloscCodecConfigurationV1
Auto Trait Implementations§
impl Freeze for BloscCodecConfigurationV1
impl RefUnwindSafe for BloscCodecConfigurationV1
impl Send for BloscCodecConfigurationV1
impl Sync for BloscCodecConfigurationV1
impl Unpin for BloscCodecConfigurationV1
impl UnwindSafe for BloscCodecConfigurationV1
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.