pub enum CParameter {
Show 20 variants
Format(FrameFormat),
CompressionLevel(i32),
WindowLog(u32),
HashLog(u32),
ChainLog(u32),
SearchLog(u32),
MinMatch(u32),
TargetLength(u32),
Strategy(ZSTD_strategy),
EnableLongDistanceMatching(bool),
LdmHashLog(u32),
LdmMinMatch(u32),
LdmBucketSizeLog(u32),
LdmHashRateLog(u32),
ContentSizeFlag(bool),
ChecksumFlag(bool),
DictIdFlag(bool),
NbWorkers(u32),
JobSize(u32),
OverlapSizeLog(u32),
}
Expand description
A compression parameter.
Variants
Format(FrameFormat)
CompressionLevel(i32)
WindowLog(u32)
HashLog(u32)
ChainLog(u32)
SearchLog(u32)
MinMatch(u32)
TargetLength(u32)
Strategy(ZSTD_strategy)
EnableLongDistanceMatching(bool)
LdmHashLog(u32)
LdmMinMatch(u32)
LdmBucketSizeLog(u32)
LdmHashRateLog(u32)
ContentSizeFlag(bool)
ChecksumFlag(bool)
DictIdFlag(bool)
NbWorkers(u32)
JobSize(u32)
OverlapSizeLog(u32)
Trait Implementations
sourceimpl Clone for CParameter
impl Clone for CParameter
sourcepub fn clone(&self) -> CParameter
pub fn clone(&self) -> CParameter
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for CParameter
impl Debug for CParameter
sourceimpl PartialEq<CParameter> for CParameter
impl PartialEq<CParameter> for CParameter
sourcepub fn eq(&self, other: &CParameter) -> bool
pub fn eq(&self, other: &CParameter) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcepub fn ne(&self, other: &CParameter) -> bool
pub fn ne(&self, other: &CParameter) -> bool
This method tests for !=
.
impl Copy for CParameter
impl Eq for CParameter
impl StructuralEq for CParameter
impl StructuralPartialEq for CParameter
Auto Trait Implementations
impl RefUnwindSafe for CParameter
impl Send for CParameter
impl Sync for CParameter
impl Unpin for CParameter
impl UnwindSafe for CParameter
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more