pub trait Measurable {
    // Required method
    fn measurements(&self) -> Measurements;
}
Expand description

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

Required Methods§

source

fn measurements(&self) -> Measurements

Obtain a set of measurements represented by the Measurements type.

Implementations on Foreign Types§

source§

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

Implementors§