Struct prometrics::Registry
[−]
[src]
pub struct Registry { /* fields omitted */ }
Collector registry.
Methods
impl Registry
[src]
pub fn register<C>(&self, collector: C) where
C: Collect + Send + 'static,
[src]
C: Collect + Send + 'static,
Registers a collector.
If collector.collect()
returns None
, it will be deregistered from this.
Trait Implementations
impl Debug for Registry
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more