Enum zarrs::array::codec::bytes_to_bytes::zstd::ZstdCodecConfiguration
source · pub enum ZstdCodecConfiguration {
V1(ZstdCodecConfigurationV1),
}
Available on crate feature
zstd
only.Expand description
A wrapper to handle various versions of zstd
codec configuration parameters.
Variants§
V1(ZstdCodecConfigurationV1)
Version 1.0.
Trait Implementations§
source§impl Clone for ZstdCodecConfiguration
impl Clone for ZstdCodecConfiguration
source§fn clone(&self) -> ZstdCodecConfiguration
fn clone(&self) -> ZstdCodecConfiguration
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 ZstdCodecConfiguration
impl Debug for ZstdCodecConfiguration
source§impl<'de> Deserialize<'de> for ZstdCodecConfiguration
impl<'de> Deserialize<'de> for ZstdCodecConfiguration
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 ZstdCodecConfiguration
impl Display for ZstdCodecConfiguration
source§impl From<ZstdCodecConfigurationV1> for ZstdCodecConfiguration
impl From<ZstdCodecConfigurationV1> for ZstdCodecConfiguration
source§fn from(original: ZstdCodecConfigurationV1) -> ZstdCodecConfiguration
fn from(original: ZstdCodecConfigurationV1) -> ZstdCodecConfiguration
Converts to this type from the input type.
source§impl PartialEq for ZstdCodecConfiguration
impl PartialEq for ZstdCodecConfiguration
source§fn eq(&self, other: &ZstdCodecConfiguration) -> bool
fn eq(&self, other: &ZstdCodecConfiguration) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ZstdCodecConfiguration
impl Serialize for ZstdCodecConfiguration
impl Eq for ZstdCodecConfiguration
impl StructuralPartialEq for ZstdCodecConfiguration
Auto Trait Implementations§
impl Freeze for ZstdCodecConfiguration
impl RefUnwindSafe for ZstdCodecConfiguration
impl Send for ZstdCodecConfiguration
impl Sync for ZstdCodecConfiguration
impl Unpin for ZstdCodecConfiguration
impl UnwindSafe for ZstdCodecConfiguration
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.