pub enum MutantStatus {
Killed,
Timeout,
Survived,
NoCoverage,
RuntimeError,
Flaky,
Pruned,
Pending,
Equivalent,
CompileError,
}Expand description
The result of one mutant.
Variants§
Killed
A covering test failed.
Timeout
The run passed its timeout. A retry in a new companion with twice the time also timed out, when the time budget allowed the retry. The mutant counts as detected.
Survived
Each covering test passed, also in a retry in a new companion when the time budget allowed the retry.
NoCoverage
No test reaches the mutant.
RuntimeError
The runner failed for a reason outside the tests.
Flaky
The second run in a new companion changed whether the tests detect the mutant.
Pruned
A static rule removed the mutant.
Pending
The mutant did not run: the mutant limit or the time budget ended first.
Equivalent
A verdict marks the mutant as equivalent to the original code: no test can detect it.
CompileError
Each covering test passed, but the mutated file does not type-check. Only a run with the type check of survivors gives this status. The mutant does not count in the score.
Trait Implementations§
Source§impl Clone for MutantStatus
impl Clone for MutantStatus
impl Copy for MutantStatus
Source§impl Debug for MutantStatus
impl Debug for MutantStatus
Source§impl<'de> Deserialize<'de> for MutantStatus
impl<'de> Deserialize<'de> for MutantStatus
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
impl Eq for MutantStatus
Source§impl Hash for MutantStatus
impl Hash for MutantStatus
Source§impl Ord for MutantStatus
impl Ord for MutantStatus
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Source§impl PartialEq for MutantStatus
impl PartialEq for MutantStatus
Source§impl PartialOrd for MutantStatus
impl PartialOrd for MutantStatus
Source§impl Serialize for MutantStatus
impl Serialize for MutantStatus
impl StructuralPartialEq for MutantStatus
Auto Trait Implementations§
impl Freeze for MutantStatus
impl RefUnwindSafe for MutantStatus
impl Send for MutantStatus
impl Sync for MutantStatus
impl Unpin for MutantStatus
impl UnsafeUnpin for MutantStatus
impl UnwindSafe for MutantStatus
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.