Trait relay_cogs::CogsRecorder
source · pub trait CogsRecorder: Send + Sync {
// Required method
fn record(&self, measurement: CogsMeasurement);
}
Expand description
Cogs recorder, recording actual measurements.
Required Methods§
sourcefn record(&self, measurement: CogsMeasurement)
fn record(&self, measurement: CogsMeasurement)
Record a single COGS measurement.