pub enum CandidateTraceDisposition {
InterruptedBeforeEvaluation,
Evaluated,
NotDoable,
RejectedByHardImprovement,
RejectedByScoreImprovement,
AcceptorRejected,
ForagerIgnored,
Selected,
Applied,
}Expand description
One state transition for a retained candidate-pull entry.
The events are recorded in engine order. This lets a bounded trace prove not only which candidates were pulled, but which one was evaluated, rejected, selected, and actually applied.
Variants§
InterruptedBeforeEvaluation
The engine stopped after the pull and before it evaluated this candidate.
Evaluated
The candidate reached evaluation.
NotDoable
Evaluation determined that the candidate was not doable.
RejectedByHardImprovement
A hard-improvement requirement rejected the evaluated candidate.
RejectedByScoreImprovement
A score-improvement requirement rejected the evaluated candidate.
AcceptorRejected
The configured acceptor rejected the evaluated candidate.
ForagerIgnored
The candidate was accepted/evaluated but lost to a forager choice.
Selected
The candidate was selected for commit.
Applied
The selected candidate was applied to the working solution.
Trait Implementations§
Source§impl Clone for CandidateTraceDisposition
impl Clone for CandidateTraceDisposition
Source§fn clone(&self) -> CandidateTraceDisposition
fn clone(&self) -> CandidateTraceDisposition
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreimpl Copy for CandidateTraceDisposition
Source§impl Debug for CandidateTraceDisposition
impl Debug for CandidateTraceDisposition
impl Eq for CandidateTraceDisposition
Source§impl Hash for CandidateTraceDisposition
impl Hash for CandidateTraceDisposition
impl StructuralPartialEq for CandidateTraceDisposition
Auto Trait Implementations§
impl Freeze for CandidateTraceDisposition
impl RefUnwindSafe for CandidateTraceDisposition
impl Send for CandidateTraceDisposition
impl Sync for CandidateTraceDisposition
impl Unpin for CandidateTraceDisposition
impl UnsafeUnpin for CandidateTraceDisposition
impl UnwindSafe for CandidateTraceDisposition
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> 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.Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more