pub enum BudgetDecisionReason {
CooldownActive,
OverloadEvidencePassed,
UnderloadEvidencePassed,
AtMaxDegradation,
AtFullQuality,
OverloadEvidenceInsufficient,
UnderloadEvidenceInsufficient,
WithinThresholdBand,
}Expand description
Controller rationale for a per-frame decision.
Variants§
CooldownActive
No decision change while cooldown is active.
OverloadEvidencePassed
Overload + evidence gate passed, so degrade one level.
UnderloadEvidencePassed
Underload + evidence gate passed, so upgrade one level.
AtMaxDegradation
Already at maximum degradation; cannot degrade further.
AtFullQuality
Already at full quality; cannot upgrade further.
OverloadEvidenceInsufficient
Overload signal present but e-process degrade gate not satisfied.
UnderloadEvidenceInsufficient
Underload signal present but e-process upgrade gate not satisfied.
WithinThresholdBand
PID output remained in the hold band.
Implementations§
Trait Implementations§
Source§impl Clone for BudgetDecisionReason
impl Clone for BudgetDecisionReason
Source§fn clone(&self) -> BudgetDecisionReason
fn clone(&self) -> BudgetDecisionReason
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 BudgetDecisionReason
impl Debug for BudgetDecisionReason
Source§impl PartialEq for BudgetDecisionReason
impl PartialEq for BudgetDecisionReason
impl Copy for BudgetDecisionReason
impl Eq for BudgetDecisionReason
impl StructuralPartialEq for BudgetDecisionReason
Auto Trait Implementations§
impl Freeze for BudgetDecisionReason
impl RefUnwindSafe for BudgetDecisionReason
impl Send for BudgetDecisionReason
impl Sync for BudgetDecisionReason
impl Unpin for BudgetDecisionReason
impl UnsafeUnpin for BudgetDecisionReason
impl UnwindSafe for BudgetDecisionReason
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