pub enum BudgetDecisionReason {
CooldownActive,
OverloadEvidencePassed,
UnderloadEvidencePassed,
AtMaxDegradation,
AtDegradationFloor,
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.
AtDegradationFloor
Already at the configured degradation floor; policy forbids degrading 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 (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 BudgetDecisionReason
Source§impl Debug for BudgetDecisionReason
impl Debug for BudgetDecisionReason
impl Eq for BudgetDecisionReason
Source§impl PartialEq for BudgetDecisionReason
impl PartialEq for BudgetDecisionReason
Source§fn eq(&self, other: &BudgetDecisionReason) -> bool
fn eq(&self, other: &BudgetDecisionReason) -> bool
Tests for
self and other values to be equal, and is used by ==.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