Trait mz_persist_types::stats::TrimStats

source ·
pub trait TrimStats: Message {
    // Required method
    fn trim(&mut self);
}
Expand description

Trim, possibly in a lossy way, statistics to reduce the serialization costs.

Required Methods§

source

fn trim(&mut self)

Attempts to reduce the serialization costs of these stats.

This is lossy (might increase the false positive rate) and so should be avoided if the full fidelity stats are within an acceptable cost threshold.

Implementors§