Expand description
The voncount crate provides utilities for keeping a running count of things.
Like the lovable Count von Count from Sesame Street, the voncount crate loves to count things.
We provide the Counter trait which can be implemented on types which try to count things.
We also provide two structs which implement the Counter trait:
ReadCounterWriteCounter
Structs§
- Read
Counter - Wraps any implementation of
std::io::Readand counts the bytes read. - Write
Counter - Wraps any implementation of
std::io::Writeand counts the bytes written.
Traits§
- Counter
- Describes types which count things. What they count is up to them.