pub enum ExpectedReruns {
None,
FlakyRunCount(usize),
SomeReruns,
}Expand description
What rerun behavior to expect for a test case.
Variants§
None
No reruns expected (no retries configured, or test doesn’t retry).
FlakyRunCount(usize)
Exactly N flaky runs expected (test passed on attempt N+1).
SomeReruns
Some reruns expected but the exact count is unknown (failing test with retries, where the count depends on per-test profile overrides that the fixture data model doesn’t track).
Trait Implementations§
Source§impl Clone for ExpectedReruns
impl Clone for ExpectedReruns
Source§fn clone(&self) -> ExpectedReruns
fn clone(&self) -> ExpectedReruns
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 ExpectedReruns
impl Debug for ExpectedReruns
Source§impl PartialEq for ExpectedReruns
impl PartialEq for ExpectedReruns
impl Copy for ExpectedReruns
impl Eq for ExpectedReruns
impl StructuralPartialEq for ExpectedReruns
Auto Trait Implementations§
impl Freeze for ExpectedReruns
impl RefUnwindSafe for ExpectedReruns
impl Send for ExpectedReruns
impl Sync for ExpectedReruns
impl Unpin for ExpectedReruns
impl UnwindSafe for ExpectedReruns
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,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more