dwd 0.5.0

High performance traffic generator
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
use core::fmt::Display;

pub use self::{gauge::Gauge, meter::Meter, quantile::Quantile, throughput::Throughput};

mod gauge;
mod meter;
mod quantile;
mod throughput;

/// Stateful metric that can display itself.
pub trait Metric
where
    Self: Display,
{
    /// Updates this metric.
    fn update(&mut self);
}