pub fn push_metrics(&mut self, metrics: Metrics) {
        if self.metrics.len() == self.keep {
            let _ = self.metrics.pop_back();
        }
        self.metrics.push_front(metrics)
    }
/// Appends a new set of metrics dropping old ones if necessary.
Appends a new set of metrics dropping old ones if necessary.
Appends a new set of metrics dropping old ones if necessary .
pub fn push_metrics(&mut self, metrics: Metrics) {
        if self.metrics.len() == self.keep {
            let _ = self.metrics.pop_back();
        }
        self.metrics.push_front(metrics)
    }
pub fn push_metrics ( & mut self , metrics : Metrics ) { if self . metrics . len ( ) == self . keep { let _ = self . metrics . pop_back ( ) ; } self . metrics . push_front ( metrics ) }
Appends a new set of metrics dropping old ones if necessary.
Appends a new set of metrics dropping old ones if necessary .
&mut self
metrics
Metrics
&mut self
metrics
Metrics