pub trait Counter<T> {
    fn count(&mut self, input: &[u8]);
    fn output(&self, collector: &mut T);
}
Expand description

Abstraction for wz’s stateful counters

This trait’s identity is the unit (()) type

Required Methods

Implementations on Foreign Types

Implementors