Struct prometrics::Registry [] [src]

pub struct Registry { /* fields omitted */ }

Collector registry.

Methods

impl Registry
[src]

[src]

Registers a collector.

If collector.collect() returns None, it will be deregistered from this.

Trait Implementations

impl Debug for Registry
[src]

[src]

Formats the value using the given formatter. Read more

impl Clone for Registry
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

Auto Trait Implementations

impl Send for Registry

impl !Sync for Registry