pub trait HandlesObservations: PutsSnapshot + Send + 'static {
    type Label: Send + 'static;

    fn handle_observation(
        &mut self,
        observation: &Observation<Self::Label>
    ) -> usize; }
Expand description

Something that can react on Observations where the Label is the type of the label.

You can use this to implement your own metrics.

Required Associated Types§

Required Methods§

Implementors§