Trait metrics_prometheus::storage::GetCollection
source · pub trait GetCollection<M>: Sealed<M> {
fn collection(&self) -> &Collection<M>;
}
Expand description
Retrieving a Collection
of M
etrics from a Mutable
storage.
Required Methods§
sourcefn collection(&self) -> &Collection<M>
fn collection(&self) -> &Collection<M>
Returns a Collection
of M
etrics stored in a Mutable
storage.