pub enum PromotePolicy {
KeepCandidate,
AutoVerifiedOnProbePass,
RequireHumanApprovalForGolden,
}Expand description
Promotion rule applied after a resolve miss lifts a fresh candidate.
Variants§
KeepCandidate
Keep the structurally checked artifact as a candidate.
AutoVerifiedOnProbePass
Promote only after semantic probes pass.
The resolver uses its verifier catalog for probe lookup, and missing or failing probes leave the artifact as a candidate.
RequireHumanApprovalForGolden
Require an approval record before any golden artifact is created.
Trait Implementations§
Source§impl Clone for PromotePolicy
impl Clone for PromotePolicy
Source§fn clone(&self) -> PromotePolicy
fn clone(&self) -> PromotePolicy
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 moreimpl Copy for PromotePolicy
Source§impl Debug for PromotePolicy
impl Debug for PromotePolicy
impl Eq for PromotePolicy
Source§impl PartialEq for PromotePolicy
impl PartialEq for PromotePolicy
impl StructuralPartialEq for PromotePolicy
Auto Trait Implementations§
impl Freeze for PromotePolicy
impl RefUnwindSafe for PromotePolicy
impl Send for PromotePolicy
impl Sync for PromotePolicy
impl Unpin for PromotePolicy
impl UnsafeUnpin for PromotePolicy
impl UnwindSafe for PromotePolicy
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,
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.