Trait cargo_tarpaulin::report::Report

source ·
pub trait Report<Out: Serialize> {
    // Required method
    fn export(coverage_data: &[TracerData], config: &Config);
}
Expand description

Trait for report formats to implement. Currently reports must be serializable using serde

Required Methods§

source

fn export(coverage_data: &[TracerData], config: &Config)

Export coverage report

Object Safety§

This trait is not object safe.

Implementors§