Trait nagiosplugin::ResourceMetric [−][src]
Represents a single metric of a resource. You shouldn’t need to implement this by yourself since the crate provided types already implement this.
Required methods
fn perf_string(&self) -> String[src]
fn name(&self) -> &str[src]
fn state(&self) -> Option<State>[src]
Implementors
impl<T, O> ResourceMetric for T where
O: ToPerfString,
T: Metric<Output = O> + ToPerfString + Debug, [src]
O: ToPerfString,
T: Metric<Output = O> + ToPerfString + Debug,