pub enum CompileTimePolicy {
Warn,
WarnStderr,
Fail,
}Available on crate feature
std only.Expand description
What to do when a token’s features are compile-time guaranteed (can’t be disabled).
Variants§
Warn
Exclude the token from permutations and collect a warning in the report. Tests still run but with reduced tier coverage.
WarnStderr
Same as Warn, but also prints each warning to stderr.
Fail
Panic. Use in CI with the testable_dispatch feature
enabled, where full permutation coverage is expected.
Trait Implementations§
Source§impl Clone for CompileTimePolicy
impl Clone for CompileTimePolicy
Source§fn clone(&self) -> CompileTimePolicy
fn clone(&self) -> CompileTimePolicy
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CompileTimePolicy
impl Debug for CompileTimePolicy
Source§impl PartialEq for CompileTimePolicy
impl PartialEq for CompileTimePolicy
impl Copy for CompileTimePolicy
impl Eq for CompileTimePolicy
impl StructuralPartialEq for CompileTimePolicy
Auto Trait Implementations§
impl Freeze for CompileTimePolicy
impl RefUnwindSafe for CompileTimePolicy
impl Send for CompileTimePolicy
impl Sync for CompileTimePolicy
impl Unpin for CompileTimePolicy
impl UnsafeUnpin for CompileTimePolicy
impl UnwindSafe for CompileTimePolicy
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