ReportTemplate

Trait ReportTemplate 

Source
pub trait ReportTemplate {
    // Required method
    fn generate(
        &self,
        results: &HashMap<String, BenchmarkResult>,
    ) -> Result<String, Box<dyn Error>>;
}
Expand description

Trait for report template generation

Required Methods§

Source

fn generate( &self, results: &HashMap<String, BenchmarkResult>, ) -> Result<String, Box<dyn Error>>

Generate the report content from benchmark results

Implementors§