pub struct CoverageThresholdControl;Expand description
Verifies that code coverage meets a minimum threshold.
Trait Implementations§
Source§impl Control for CoverageThresholdControl
impl Control for CoverageThresholdControl
Source§fn description(&self) -> &'static str
fn description(&self) -> &'static str
Human-readable description for SARIF rule output.
Source§fn evaluate(&self, evidence: &EvidenceBundle) -> Vec<ControlFinding>
fn evaluate(&self, evidence: &EvidenceBundle) -> Vec<ControlFinding>
Evaluates the evidence bundle and returns one finding per subject.
Source§fn tsc_criteria(&self) -> &'static [&'static str]
fn tsc_criteria(&self) -> &'static [&'static str]
SOC2 Trust Services Criteria this control maps to (e.g., &[“CC6.1”, “CC8.1”]).
Returns empty slice for controls not mapped to SOC2.
Source§fn remediation_hint(&self) -> Option<&'static str>
fn remediation_hint(&self) -> Option<&'static str>
Actionable remediation hint shown when the control fails or needs review.
Auto Trait Implementations§
impl Freeze for CoverageThresholdControl
impl RefUnwindSafe for CoverageThresholdControl
impl Send for CoverageThresholdControl
impl Sync for CoverageThresholdControl
impl Unpin for CoverageThresholdControl
impl UnsafeUnpin for CoverageThresholdControl
impl UnwindSafe for CoverageThresholdControl
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