risingwave_common_metrics

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

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§