pub struct CsvExporter { /* private fields */ }
Expand description
CSV exporter
Implementations§
Source§impl CsvExporter
impl CsvExporter
Sourcepub fn new(config: CsvExportConfig) -> Self
pub fn new(config: CsvExportConfig) -> Self
Create a new CSV exporter
Sourcepub fn export_execution_report(
&self,
report: &ExecutionReport,
output_path: &str,
) -> Result<()>
pub fn export_execution_report( &self, report: &ExecutionReport, output_path: &str, ) -> Result<()>
Export execution report to CSV
Sourcepub fn export_execution_reports(
&self,
reports: &[ExecutionReport],
output_path: &str,
) -> Result<()>
pub fn export_execution_reports( &self, reports: &[ExecutionReport], output_path: &str, ) -> Result<()>
Export multiple execution reports to CSV
Sourcepub fn export_comparison_report(
&self,
report: &ComparisonReport,
output_path: &str,
) -> Result<()>
pub fn export_comparison_report( &self, report: &ComparisonReport, output_path: &str, ) -> Result<()>
Export comparison report to CSV
Sourcepub fn export_metrics_time_series(
&self,
metrics: &[(i64, ReportMetrics)],
output_path: &str,
) -> Result<()>
pub fn export_metrics_time_series( &self, metrics: &[(i64, ReportMetrics)], output_path: &str, ) -> Result<()>
Export metrics time series to CSV
Sourcepub fn export_regressions(
&self,
report: &ComparisonReport,
output_path: &str,
) -> Result<()>
pub fn export_regressions( &self, report: &ComparisonReport, output_path: &str, ) -> Result<()>
Export regressions to CSV
Sourcepub fn export_improvements(
&self,
report: &ComparisonReport,
output_path: &str,
) -> Result<()>
pub fn export_improvements( &self, report: &ComparisonReport, output_path: &str, ) -> Result<()>
Export improvements to CSV
Trait Implementations§
Auto Trait Implementations§
impl Freeze for CsvExporter
impl RefUnwindSafe for CsvExporter
impl Send for CsvExporter
impl Sync for CsvExporter
impl Unpin for CsvExporter
impl UnwindSafe for CsvExporter
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more