pub enum RollbackReason {
CalibrationRegression {
score: f64,
},
BudgetOverruns {
count: u32,
},
ManualRollback,
FallbackTriggered {
decision_label: String,
},
}Expand description
Reason a controller was rolled back.
Variants§
CalibrationRegression
Calibration score dropped below threshold.
BudgetOverruns
Budget overruns exceeded policy limit.
ManualRollback
Manual rollback requested by operator.
FallbackTriggered
Fallback triggered by a decision rejection.
Trait Implementations§
Source§impl Clone for RollbackReason
impl Clone for RollbackReason
Source§fn clone(&self) -> RollbackReason
fn clone(&self) -> RollbackReason
Returns a duplicate of the value. Read more
1.0.0 · 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 RollbackReason
impl Debug for RollbackReason
Source§impl<'de> Deserialize<'de> for RollbackReason
impl<'de> Deserialize<'de> for RollbackReason
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
Source§impl Display for RollbackReason
impl Display for RollbackReason
Source§impl PartialEq for RollbackReason
impl PartialEq for RollbackReason
Source§impl Serialize for RollbackReason
impl Serialize for RollbackReason
impl StructuralPartialEq for RollbackReason
Auto Trait Implementations§
impl Freeze for RollbackReason
impl RefUnwindSafe for RollbackReason
impl Send for RollbackReason
impl Sync for RollbackReason
impl Unpin for RollbackReason
impl UnsafeUnpin for RollbackReason
impl UnwindSafe for RollbackReason
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<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, _span: NoopSpan) -> Self
fn instrument(self, _span: NoopSpan) -> Self
Instruments this future with a span (no-op when disabled).
Source§fn in_current_span(self) -> Self
fn in_current_span(self) -> Self
Instruments this future with the current span (no-op when disabled).