Expand description
Everything a scheme author implements or receives: the Scheme trait, exclusion rules,
compression estimates, and the compression context.
Structs§
- Ancestor
Exclusion - Pull rule: declared by a scheme to exclude itself when the specified ancestor is in the cascade chain.
- Compressor
Context - Context passed through recursive compression calls.
- Descendant
Exclusion - Push rule: declared by a cascading scheme to exclude another scheme from the subtree rooted at the specified children.
- Scheme
Id - Unique identifier for a compression scheme.
Enums§
- Child
Selection - Selects which children of a cascading scheme a rule applies to.
- Compression
Estimate - The result of a
Scheme’s compression ratio estimation. - Deferred
Estimate - Deferred work that can resolve to a terminal
EstimateVerdict. - Estimate
Score - Ranked estimate used for comparing non-terminal compression candidates.
- Estimate
Verdict - The terminal answer to a compression estimate request.
Constants§
- MAX_
CASCADE - Maximum cascade depth for compression.
Traits§
- Scheme
- A single compression encoding that the
CascadingCompressorcan select from. - Scheme
Ext - Extension trait providing
idfor allSchemeimplementors.
Type Aliases§
- Estimate
Fn - Closure type for
DeferredEstimate::Callback.