Skip to main content

MetricWithLocal

Trait MetricWithLocal 

Source
pub trait MetricWithLocal {
    type Local;

    // Required method
    fn local(&self) -> Self::Local;
}

Required Associated Types§

Required Methods§

Source

fn local(&self) -> Self::Local

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl MetricWithLocal for Histogram

Source§

type Local = LocalHistogram

Source§

fn local(&self) -> Self::Local

Source§

impl<P: Atomic> MetricWithLocal for GenericCounter<P>

Source§

type Local = GenericLocalCounter<P>

Source§

fn local(&self) -> Self::Local

Implementors§