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