pub enum RepeatOutcome {
NotComparable,
AnswerRepeated,
AnswerChanged,
NotTheCurrentRun,
}Expand description
What one occurrence turned out to be, once its answers were known.
Variants§
NotComparable
First occurrence in this run, or answers that could not be compared on one side or the other. Not evidence of progress, and not evidence against it.
AnswerRepeated
The same batch got the same answer back. The run stands.
AnswerChanged
The same batch got a different answer. This occurrence was progress, so the run starts again from it.
NotTheCurrentRun
The record does not name the current run — the run was already broken by a different batch before its answers arrived. Nothing is recorded.
Trait Implementations§
Source§impl Clone for RepeatOutcome
impl Clone for RepeatOutcome
Source§fn clone(&self) -> RepeatOutcome
fn clone(&self) -> RepeatOutcome
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 RepeatOutcome
impl Debug for RepeatOutcome
Source§impl PartialEq for RepeatOutcome
impl PartialEq for RepeatOutcome
Source§fn eq(&self, other: &RepeatOutcome) -> bool
fn eq(&self, other: &RepeatOutcome) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for RepeatOutcome
impl Eq for RepeatOutcome
impl StructuralPartialEq for RepeatOutcome
Auto Trait Implementations§
impl Freeze for RepeatOutcome
impl RefUnwindSafe for RepeatOutcome
impl Send for RepeatOutcome
impl Sync for RepeatOutcome
impl Unpin for RepeatOutcome
impl UnsafeUnpin for RepeatOutcome
impl UnwindSafe for RepeatOutcome
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