Trait prometheus::local::MayFlush
source · [−]pub trait MayFlush: LocalMetric {
fn may_flush(&self);
fn try_flush(&self, last_flush: &Cell<u64>, flush_interval_millis: u64) { ... }
}
Expand description
An interface models a LocalMetric with try to flush functions. Not intend to be implemented by user manually, used in macro generated code.