Trait metrix::instruments::Updates[][src]

pub trait Updates {
    fn update(&mut self, with: &Update);
}

Implementors of Updates can handle Updates.

Updates are basically observations without a label.

Required Methods

Update the internal state according to the given Update.

Not all Updates might modify the internal state. Only those that are appropriate and meaningful for the implementor.

Implementors