pub enum TransitionReasonCode {
HeuristicEnterBurstRate,
HeuristicExitBurstCooldown,
HeuristicExitBurstRate,
BocpdPosteriorBurst,
BocpdPosteriorSteady,
BocpdIdleExit,
}Expand description
Structured reason codes for regime transitions.
Variants§
HeuristicEnterBurstRate
Heuristic detector entered burst because event rate crossed enter threshold.
HeuristicExitBurstCooldown
Heuristic detector exited burst after cooldown with low event rate.
HeuristicExitBurstRate
Heuristic detector exited burst on the immediate path because the
event rate had fallen below the exit threshold (no frame ticks run
the cooldown in ResizeBehavior::Immediate).
BocpdPosteriorBurst
BOCPD posterior crossed burst threshold.
BocpdPosteriorSteady
BOCPD posterior crossed steady threshold.
BocpdIdleExit
BOCPD mode exited burst on a tick because no event arrived for at
least the steady mean inter-arrival (mu_steady_ms). The posterior
only updates on events, so without this a burst followed by silence
would stay Burst (and keep the load governor in soft overload)
until the next resize.
Implementations§
Trait Implementations§
Source§impl Clone for TransitionReasonCode
impl Clone for TransitionReasonCode
impl Copy for TransitionReasonCode
Source§impl Debug for TransitionReasonCode
impl Debug for TransitionReasonCode
impl Eq for TransitionReasonCode
Source§impl PartialEq for TransitionReasonCode
impl PartialEq for TransitionReasonCode
impl StructuralPartialEq for TransitionReasonCode
Auto Trait Implementations§
impl Forget for TransitionReasonCode
impl Freeze for TransitionReasonCode
impl Move for TransitionReasonCode
impl RefUnwindSafe for TransitionReasonCode
impl Send for TransitionReasonCode
impl Sync for TransitionReasonCode
impl Unpin for TransitionReasonCode
impl UnsafeUnpin for TransitionReasonCode
impl UnwindSafe for TransitionReasonCode
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