pub enum TestReachClass {
MockedOnly,
None,
NoneFile,
Transitive,
Direct,
Framework,
}Expand description
How tests reach one changed export.
Treat this as an open set: a later version can add a class. A consumer must read an unknown value as “needs attention”.
Variants§
MockedOnly
Only tests that replace a module on the import path with a mock reference the export. The real code does not run in those tests.
None
Tests load the declaring file, but no test-reachable module references the export.
NoneFile
No test loads the declaring file.
Transitive
Tests reach the export only through other modules.
Direct
A test file references the export.
Framework
A framework reads the export as configuration with a literal value, so it needs no test.
Trait Implementations§
Source§impl Clone for TestReachClass
impl Clone for TestReachClass
impl Copy for TestReachClass
Source§impl Debug for TestReachClass
impl Debug for TestReachClass
impl Eq for TestReachClass
Source§impl Hash for TestReachClass
impl Hash for TestReachClass
Source§impl Ord for TestReachClass
impl Ord for TestReachClass
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for TestReachClass
impl PartialEq for TestReachClass
Source§impl PartialOrd for TestReachClass
impl PartialOrd for TestReachClass
Source§impl Serialize for TestReachClass
impl Serialize for TestReachClass
impl StructuralPartialEq for TestReachClass
Auto Trait Implementations§
impl Freeze for TestReachClass
impl RefUnwindSafe for TestReachClass
impl Send for TestReachClass
impl Sync for TestReachClass
impl Unpin for TestReachClass
impl UnsafeUnpin for TestReachClass
impl UnwindSafe for TestReachClass
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
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
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
Compare self to
key and return true if they are equal.