pub trait StatisticsGenerator {
// Required method
fn print_stats(&self);
}Expand description
Trait for generating and printing statistics
Implementors of this trait in this crate do not print anything unless the
statistics feature is enabled.
Required Methods§
Sourcefn print_stats(&self)
fn print_stats(&self)
Print statistics to stdout
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".