pub struct SaturationReport {
pub signal: SaturationSignal,
pub edges_covered: usize,
pub edges_total: usize,
pub sometimes_hit: usize,
pub sometimes_total: usize,
pub plateau_seeds: usize,
}Expand description
Outcome of an UntilCoverageStable run: which signal it plateaued on and
the final coverage numbers, so the report can name the stop reason
explicitly.
Fields§
§signal: SaturationSignalThe progress signal counted toward the plateau.
edges_covered: usizeCode edges covered (meaningful only when signal == CodeCoverage).
edges_total: usizeTotal instrumented code edges (meaningful only when signal == CodeCoverage).
sometimes_hit: usizeNumber of observed sometimes/reachable assertions that fired.
sometimes_total: usizeTotal number of observed sometimes/reachable assertions.
plateau_seeds: usizeConsecutive quiet seeds required to declare saturation.
Trait Implementations§
Source§impl Clone for SaturationReport
impl Clone for SaturationReport
Source§fn clone(&self) -> SaturationReport
fn clone(&self) -> SaturationReport
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for SaturationReport
impl RefUnwindSafe for SaturationReport
impl Send for SaturationReport
impl Sync for SaturationReport
impl Unpin for SaturationReport
impl UnsafeUnpin for SaturationReport
impl UnwindSafe for SaturationReport
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