pub trait ClassificationPolicy {
// Required method
fn classify(&self, report: &CoverageReport) -> ClassificationLabel;
}Expand description
A scheme-defined classification policy: a pure function from the coverage report to a label. The reference policy implements the Annex E ladder; schemes replace it via their deployment manifest.
Required Methods§
Sourcefn classify(&self, report: &CoverageReport) -> ClassificationLabel
fn classify(&self, report: &CoverageReport) -> ClassificationLabel
Map a coverage report to a classification label.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".