pub struct CascadeTelemetry {
pub level: DegradationLevel,
pub recovery_streak: u32,
pub recovery_threshold: u32,
pub frame_idx: u64,
pub total_degrades: u64,
pub total_recoveries: u64,
pub guard_state: GuardState,
pub guard_observations: u64,
pub guard_ema_us: f64,
}Expand description
Telemetry snapshot of the cascade.
Fields§
§level: DegradationLevelCurrent degradation level.
recovery_streak: u32Recovery streak.
recovery_threshold: u32Recovery threshold.
frame_idx: u64Frame counter.
total_degrades: u64Total degrade events.
total_recoveries: u64Total recovery events.
guard_state: GuardStateGuard state.
guard_observations: u64Guard total observations.
guard_ema_us: f64Guard EMA estimate (µs).
Implementations§
Trait Implementations§
Source§impl Clone for CascadeTelemetry
impl Clone for CascadeTelemetry
Source§fn clone(&self) -> CascadeTelemetry
fn clone(&self) -> CascadeTelemetry
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 moreAuto Trait Implementations§
impl Freeze for CascadeTelemetry
impl RefUnwindSafe for CascadeTelemetry
impl Send for CascadeTelemetry
impl Sync for CascadeTelemetry
impl Unpin for CascadeTelemetry
impl UnsafeUnpin for CascadeTelemetry
impl UnwindSafe for CascadeTelemetry
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