Trait metrix::Descriptive [−][src]
pub trait Descriptive { fn title(&self) -> Option<&str> { ... } fn description(&self) -> Option<&str> { ... } }
Something that has a title and a description
This is mostly useful for snapshots. When a Snapshot
is taken there is usually a parameter descriptive
that determines whether title and description should
be part of a Snapshot
. See also PutsSnapshot
.
Provided Methods
Implementors
impl<L> Descriptive for Cockpit<L>
impl Descriptive for TelemetryDriver
impl Descriptive for Counter
impl Descriptive for Gauge
impl Descriptive for Histogram
impl Descriptive for Meter
impl Descriptive for ValueMeter
impl Descriptive for LastOccurrenceTracker
impl<P> Descriptive for PollingInstrument<P>
impl Descriptive for NonOccurrenceIndicator
impl Descriptive for OccurrenceIndicator
impl Descriptive for StaircaseTimer
impl<L> Descriptive for Panel<L>
impl<L> Descriptive for TelemetryProcessor<L>
impl Descriptive for ProcessorMount