pub enum PromotionStatus {
Shadow,
Promoted,
Denied,
AwaitingApproval,
}Expand description
Lifecycle state of a challenger version relative to its champion.
Default is PromotionStatus::Shadow — a freshly registered version is
never live until it explicitly clears the gate.
Variants§
Shadow
Registered but not serving traffic. The deny-by-default state.
Promoted
Cleared the gate and replaced the champion.
Denied
Evaluated and explicitly denied — stays shadow, but the operator has a recorded reason (failed thresholds).
AwaitingApproval
Cleared thresholds but is waiting on the required human approval.
Implementations§
Trait Implementations§
Source§impl Clone for PromotionStatus
impl Clone for PromotionStatus
Source§fn clone(&self) -> PromotionStatus
fn clone(&self) -> PromotionStatus
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 PromotionStatus
Source§impl Debug for PromotionStatus
impl Debug for PromotionStatus
Source§impl Default for PromotionStatus
impl Default for PromotionStatus
Source§fn default() -> PromotionStatus
fn default() -> PromotionStatus
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PromotionStatus
impl<'de> Deserialize<'de> for PromotionStatus
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for PromotionStatus
Source§impl Hash for PromotionStatus
impl Hash for PromotionStatus
Source§impl PartialEq for PromotionStatus
impl PartialEq for PromotionStatus
Source§impl Serialize for PromotionStatus
impl Serialize for PromotionStatus
impl StructuralPartialEq for PromotionStatus
Auto Trait Implementations§
impl Freeze for PromotionStatus
impl RefUnwindSafe for PromotionStatus
impl Send for PromotionStatus
impl Sync for PromotionStatus
impl Unpin for PromotionStatus
impl UnsafeUnpin for PromotionStatus
impl UnwindSafe for PromotionStatus
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<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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§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.