pub struct PrometheusExporter { /* private fields */ }Expand description
An implementation of metrics::Exporter that sends metrics to Prometheus.
This exporter supports Prometheus pulls, as such it does not implement the export.Exporter interface.
Implementations
Trait Implementations
sourceimpl Clone for PrometheusExporter
impl Clone for PrometheusExporter
sourcefn clone(&self) -> PrometheusExporter
fn clone(&self) -> PrometheusExporter
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
Auto Trait Implementations
impl !RefUnwindSafe for PrometheusExporter
impl Send for PrometheusExporter
impl Sync for PrometheusExporter
impl Unpin for PrometheusExporter
impl !UnwindSafe for PrometheusExporter
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more