[−][src]Trait metrix::HandlesObservations
Something that can react on Observation
s where
the Label
is the type of the label.
You can use this to implement your own metrics.
Associated Types
Loading content...Required methods
fn handle_observation(
&mut self,
observation: &Observation<Self::Label>
) -> usize
&mut self,
observation: &Observation<Self::Label>
) -> usize
Implementors
impl<L> HandlesObservations for Cockpit<L> where
L: Clone + Eq + Send + 'static,
[src]
L: Clone + Eq + Send + 'static,
type Label = L
fn handle_observation(
&mut self,
observation: &Observation<Self::Label>
) -> usize
[src]
&mut self,
observation: &Observation<Self::Label>
) -> usize