pub enum RuntimeLoadMode {
Healthy,
Stressed,
Degraded,
Recovered,
Unsafe,
}Expand description
User-visible runtime mode reported by the conservative load governor.
These modes mirror the bd-8vstx runtime contract:
Healthy: admit all work normally; no explicit fallback is active.Stressed: strict work is preserved while visible/coalescible or background work may be slowed before user-visible ambiguity appears.Degraded: bounded fallback is active; strict interactive semantics still hold while background/best-effort work is deferred or dropped.Recovered: a degraded interval has closed after the configured hysteresis window; the next steady interval returns toHealthy.Unsafe: a strict semantic guarantee cannot be preserved, so optimistic degradation must stop and the caller must surface explicit failure.
Variants§
Healthy
No sustained pressure and no active fallback.
Stressed
Elevated pressure while strict guarantees still hold.
Degraded
Explicit bounded fallback is active.
Recovered
Recovery interval has been observed and reported.
Unsafe
A strict semantic guarantee was violated.
Implementations§
Trait Implementations§
Source§impl Clone for RuntimeLoadMode
impl Clone for RuntimeLoadMode
Source§fn clone(&self) -> RuntimeLoadMode
fn clone(&self) -> RuntimeLoadMode
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 RuntimeLoadMode
Source§impl Debug for RuntimeLoadMode
impl Debug for RuntimeLoadMode
impl Eq for RuntimeLoadMode
Source§impl PartialEq for RuntimeLoadMode
impl PartialEq for RuntimeLoadMode
Source§fn eq(&self, other: &RuntimeLoadMode) -> bool
fn eq(&self, other: &RuntimeLoadMode) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for RuntimeLoadMode
Auto Trait Implementations§
impl Freeze for RuntimeLoadMode
impl RefUnwindSafe for RuntimeLoadMode
impl Send for RuntimeLoadMode
impl Sync for RuntimeLoadMode
impl Unpin for RuntimeLoadMode
impl UnsafeUnpin for RuntimeLoadMode
impl UnwindSafe for RuntimeLoadMode
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,
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.