Trait Publish
dipstick
pub trait Publish: Send + Sync + Debug { fn publish(&self, scores: Vec<ScoreSnapshot>); }
A trait to publish metrics.
fn publish(&self, scores: Vec<ScoreSnapshot>)
Publish the provided metrics data downstream.
impl<E, M> Publish for Publisher<E, M> where M: Clone + Send + Sync + Debug + 'static, E: Fn(Kind, &str, ScoreType) -> Option<(Kind, Vec<&str>, Value)> + Send + Sync + 'static,