pub trait CardinalityItem {
// Required methods
fn to_hash(&self) -> u32;
fn namespace(&self) -> Option<MetricNamespace>;
fn name(&self) -> &MetricName;
}Expand description
Unit of operation for the cardinality limiter.
pub trait CardinalityItem {
// Required methods
fn to_hash(&self) -> u32;
fn namespace(&self) -> Option<MetricNamespace>;
fn name(&self) -> &MetricName;
}Unit of operation for the cardinality limiter.