Enum zstd_safe::CParameter
source · [−]pub enum CParameter {
Show 34 variants
RSyncable(bool),
Format(FrameFormat),
ForceMaxWindow(bool),
ForceAttachDict(DictAttachPref),
LiteralCompressionMode(ParamSwitch),
TargetCBlockSize(u32),
SrcSizeHint(u32),
EnableDedicatedDictSearch(bool),
StableInBuffer(bool),
StableOutBuffer(bool),
BlockDelimiters(bool),
ValidateSequences(bool),
UseBlockSplitter(ParamSwitch),
UseRowMatchFinder(ParamSwitch),
DeterministicRefPrefix(bool),
CompressionLevel(CompressionLevel),
WindowLog(u32),
HashLog(u32),
ChainLog(u32),
SearchLog(u32),
MinMatch(u32),
TargetLength(u32),
Strategy(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
RSyncable(bool)
This is supported on crate feature
experimental only.Format(FrameFormat)
This is supported on crate feature
experimental only.ForceMaxWindow(bool)
This is supported on crate feature
experimental only.ForceAttachDict(DictAttachPref)
This is supported on crate feature
experimental only.LiteralCompressionMode(ParamSwitch)
This is supported on crate feature
experimental only.TargetCBlockSize(u32)
This is supported on crate feature
experimental only.SrcSizeHint(u32)
This is supported on crate feature
experimental only.EnableDedicatedDictSearch(bool)
This is supported on crate feature
experimental only.StableInBuffer(bool)
This is supported on crate feature
experimental only.StableOutBuffer(bool)
This is supported on crate feature
experimental only.BlockDelimiters(bool)
This is supported on crate feature
experimental only.ValidateSequences(bool)
This is supported on crate feature
experimental only.UseBlockSplitter(ParamSwitch)
This is supported on crate feature
experimental only.UseRowMatchFinder(ParamSwitch)
This is supported on crate feature
experimental only.DeterministicRefPrefix(bool)
This is supported on crate feature
experimental only.CompressionLevel(CompressionLevel)
WindowLog(u32)
HashLog(u32)
ChainLog(u32)
SearchLog(u32)
MinMatch(u32)
TargetLength(u32)
Strategy(Strategy)
EnableLongDistanceMatching(bool)
LdmHashLog(u32)
LdmMinMatch(u32)
LdmBucketSizeLog(u32)
LdmHashRateLog(u32)
ContentSizeFlag(bool)
ChecksumFlag(bool)
DictIdFlag(bool)
NbWorkers(u32)
Note: this will only work if the zstdmt feature is activated.
JobSize(u32)
OverlapSizeLog(u32)
Trait Implementations
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
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
Mutably borrows from an owned value. Read more