Struct prom::Registry
[−]
[src]
pub struct Registry { /* fields omitted */ }
Methods
impl Registry
[src]
fn new() -> Registry
fn register(&self, c: Box<Collector>) -> Result<()>
fn unregister(&self, c: Box<Collector>) -> Result<()>
fn gather(&self) -> Vec<MetricFamily>
Trait Implementations
impl Clone for Registry
[src]
fn clone(&self) -> Registry
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more