pub type PrometheusIntCounter = Either<IntCounter, IntCounterVec>;
Expand description

Trait Implementations§

source§

impl TryFrom<&Key> for PrometheusIntCounter

§

type Error = Error

The type returned in the event of a conversion error.
source§

fn try_from(key: &Key) -> Result<Self, Self::Error>

Performs the conversion.