Enum zstd_safe::CParameter[][src]

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)

Tuple Fields

0: bool

Format(FrameFormat)

Tuple Fields

ForceMaxWindow(bool)

Tuple Fields

0: bool

ForceAttachDict(DictAttachPref)

Tuple Fields

LiteralCompressionMode(ParamSwitch)

Tuple Fields

TargetCBlockSize(u32)

Tuple Fields

0: u32

SrcSizeHint(u32)

Tuple Fields

0: u32

EnableDedicatedDictSearch(bool)

Tuple Fields

0: bool

StableInBuffer(bool)

Tuple Fields

0: bool

StableOutBuffer(bool)

Tuple Fields

0: bool

BlockDelimiters(bool)

Tuple Fields

0: bool

ValidateSequences(bool)

Tuple Fields

0: bool

UseBlockSplitter(ParamSwitch)

Tuple Fields

UseRowMatchFinder(ParamSwitch)

Tuple Fields

DeterministicRefPrefix(bool)

Tuple Fields

0: bool

CompressionLevel(CompressionLevel)

Tuple Fields

WindowLog(u32)

Tuple Fields

0: u32

HashLog(u32)

Tuple Fields

0: u32

ChainLog(u32)

Tuple Fields

0: u32

SearchLog(u32)

Tuple Fields

0: u32

MinMatch(u32)

Tuple Fields

0: u32

TargetLength(u32)

Tuple Fields

0: u32

Strategy(Strategy)

Tuple Fields

EnableLongDistanceMatching(bool)

Tuple Fields

0: bool

LdmHashLog(u32)

Tuple Fields

0: u32

LdmMinMatch(u32)

Tuple Fields

0: u32

LdmBucketSizeLog(u32)

Tuple Fields

0: u32

LdmHashRateLog(u32)

Tuple Fields

0: u32

ContentSizeFlag(bool)

Tuple Fields

0: bool

ChecksumFlag(bool)

Tuple Fields

0: bool

DictIdFlag(bool)

Tuple Fields

0: bool

NbWorkers(u32)

Tuple Fields

0: u32

Note: this will only work if the zstdmt feature is activated.

JobSize(u32)

Tuple Fields

0: u32

OverlapSizeLog(u32)

Tuple Fields

0: u32

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.