Trait garage_util::metrics::RecordDuration
source · pub trait RecordDuration<'a>: 'a {
type Output;
// Required methods
fn record_duration(
self,
r: &'a ValueRecorder<f64>,
attributes: &'a [KeyValue]
) -> BoxFuture<'a, Self::Output>;
fn bound_record_duration(
self,
r: &'a BoundValueRecorder<f64>
) -> BoxFuture<'a, Self::Output>;
}