Trait metrics_prometheus::failure::strategy::Strategy
source · pub trait Strategy {
// Required method
fn decide(&self, res: &Error) -> Action;
}
Expand description
Strategy deciding which Action
should be performed on an encountered
prometheus::Error
inside metrics::Recorder
methods.