[−][src]Trait prometrics::Collect
This trait allows for collecting metrics.
Associated Types
Loading content...Required methods
fn collect(&mut self) -> Option<Self::Metrics>
Collects metrics.
If there are no more metrics to collect, this method will return None
.