pub struct Reduction<C> {
pub scenario: Scenario<C>,
pub predicate: String,
pub candidates: usize,
pub before: Size,
pub after: Size,
}Expand description
What a reduction found, and what it cost.
Fields§
§scenario: Scenario<C>The smallest scenario found. It satisfies the predicate: it was run and checked.
predicate: StringWhat the predicate was called. Recorded because a reduction can legitimately land on a different failure than the one it started from, and the reader needs to know what was actually being hunted.
candidates: usizeHow many candidates were run, the original included.
before: Size§after: SizeImplementations§
Trait Implementations§
Auto Trait Implementations§
impl<C> Freeze for Reduction<C>
impl<C> RefUnwindSafe for Reduction<C>where
C: RefUnwindSafe,
impl<C> Send for Reduction<C>where
C: Send,
impl<C> Sync for Reduction<C>where
C: Sync,
impl<C> Unpin for Reduction<C>where
C: Unpin,
impl<C> UnsafeUnpin for Reduction<C>
impl<C> UnwindSafe for Reduction<C>where
C: UnwindSafe,
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