Trait mz_storage_controller::statistics::AsStats
source · pub(crate) trait AsStats<Stats> {
// Required methods
fn as_stats(&self) -> &BTreeMap<GlobalId, StatsState<Stats>>;
fn as_mut_stats(&mut self) -> &mut BTreeMap<GlobalId, StatsState<Stats>>;
}
Expand description
Conversion trait to allow multiple shapes of data in spawn_statistics_scraper
.