pub trait Get<Collection>: Sealed<Collection> {
    // Required method
    fn collection(&self) -> &Collection;
}
Expand description

Retrieving a Collection of metric::Bundles from a storage.

Required Methods§

source

fn collection(&self) -> &Collection

Returns a Collection of metric::Bundles stored in this storage.

Implementors§

source§

impl Get<Arc<RwLock<HashMap<String, Describable<Option<Either<GenericCounter<AtomicU64>, MetricVec<CounterVecBuilder<AtomicU64>>>>>>>>> for metrics_prometheus::storage::Mutable

source§

impl Get<Arc<RwLock<HashMap<String, Describable<Option<Either<GenericGauge<AtomicF64>, MetricVec<GaugeVecBuilder<AtomicF64>>>>>>>>> for metrics_prometheus::storage::Mutable

source§

impl Get<Arc<RwLock<HashMap<String, Describable<Option<Either<Histogram, MetricVec<HistogramVecBuilder>>>>>>>> for metrics_prometheus::storage::Mutable

source§

impl Get<HashMap<String, Describable<Either<GenericCounter<AtomicU64>, MetricVec<CounterVecBuilder<AtomicU64>>>>>> for metrics_prometheus::storage::Immutable

source§

impl Get<HashMap<String, Describable<Either<GenericGauge<AtomicF64>, MetricVec<GaugeVecBuilder<AtomicF64>>>>>> for metrics_prometheus::storage::Immutable

source§

impl Get<HashMap<String, Describable<Either<Histogram, MetricVec<HistogramVecBuilder>>>>> for metrics_prometheus::storage::Immutable