referrerpolicy=no-referrer-when-downgrade
pub trait Measurable {
    // Required method
    fn measurements(&self) -> Measurements;
}
Expand description

A dummy trait that allows implementing measurements for Result<_,_>.

Required Methods§

fn measurements(&self) -> Measurements

Obtain a set of measurements represented by the Measurements type.

Implementations on Foreign Types§

§

impl<T> Measurable for Result<OutputWithMeasurements<T>, Error>

Implementors§