pub enum NominationRefusal {
UnusableText(&'static str),
WorktreeWasMutated,
WorktreeNotClean,
BaselineIncomplete,
}Expand description
Why a nomination was refused. Each variant is a distinct thing to tell the model, because “try again differently” and “you cannot get here from where you are” are different instructions.
Variants§
UnusableText(&'static str)
summary or evidence was empty, whitespace, or over the cap.
WorktreeWasMutated
A mutating tool succeeded earlier in this session.
WorktreeNotClean
The worktree differs from the captured baseline right now.
BaselineIncomplete
The baseline did not complete — starved by the session deadline, or a check killed by infrastructure. A baseline that did not finish is not evidence of anything.
Implementations§
Trait Implementations§
Source§impl Clone for NominationRefusal
impl Clone for NominationRefusal
Source§impl Debug for NominationRefusal
impl Debug for NominationRefusal
impl Eq for NominationRefusal
Source§impl PartialEq for NominationRefusal
impl PartialEq for NominationRefusal
impl StructuralPartialEq for NominationRefusal
Auto Trait Implementations§
impl Freeze for NominationRefusal
impl RefUnwindSafe for NominationRefusal
impl Send for NominationRefusal
impl Sync for NominationRefusal
impl Unpin for NominationRefusal
impl UnsafeUnpin for NominationRefusal
impl UnwindSafe for NominationRefusal
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<S, T> Duplex<S> for Twhere
T: FromSample<S> + ToSample<S>,
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.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
impl<T> ErasedDestructor for Twhere
T: 'static,
Source§impl<S> FromSample<S> for S
impl<S> FromSample<S> for S
fn from_sample_(s: S) -> S
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> ⓘ
Converts
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> ⓘ
Converts
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