Skip to main content

Counter

Trait Counter 

Source
pub trait Counter:
    Sized
    + Any
    + Sealed { }
Expand description

Counts the number of values processed in each iteration of a benchmarked function.

This is used via:

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§