Trait dipstick::WithCache
[−]
[src]
pub trait WithCache where
Self: Sized, { fn with_cache(&self, cache_size: usize) -> Self; }
Cache metrics to prevent them from being re-defined on every use. Use of this should be transparent, this has no effect on the values. Stateful sinks (i.e. Aggregate) may naturally cache their definitions.
Required Methods
fn with_cache(&self, cache_size: usize) -> Self
Cache metrics to prevent them from being re-defined on every use.