Struct telemetry::plain::Ignoring
[−]
[src]
pub struct Ignoring<T> { // some fields omitted }
A histogram that ignores any input.
Useful for histograms that can be activated/deactivated either at compile-time (e.g. because they are attached to specific versions of the application) or during startup (e.g. depending on command-line options).
Methods
impl<T> Ignoring<T>
fn new() -> Ignoring<T>
Create an histogram that ignores any input.
Ignoring
histograms are effectively implemented as empty
structs, without a back-end, so they take no memory.