pub struct PaneMonitorVerdict {
pub assumption: PaneAssumption,
pub strategy: PaneMemoryStrategy,
pub status: PaneMonitorStatus,
pub observed: f64,
pub budget: f64,
pub headroom_pct: f64,
pub explanation: String,
}Expand description
One monitor verdict: machine-readable metrics plus an operator-readable explanation of what it means for responsiveness.
Fields§
§assumption: PaneAssumptionThe assumption being judged.
strategy: PaneMemoryStrategyThe strategy the verdict applies to.
status: PaneMonitorStatusOverall health.
observed: f64Observed metric value (units depend on the assumption: a ratio, a percentage, or nanoseconds).
budget: f64The value at which the verdict would become a violation (the budget).
headroom_pct: f64Remaining headroom as a percentage of the budget; negative once over.
explanation: StringPlain-language explanation aimed at an operator, not just a developer.
Trait Implementations§
Source§impl Clone for PaneMonitorVerdict
impl Clone for PaneMonitorVerdict
Source§fn clone(&self) -> PaneMonitorVerdict
fn clone(&self) -> PaneMonitorVerdict
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 moreSource§impl Debug for PaneMonitorVerdict
impl Debug for PaneMonitorVerdict
Source§impl PartialEq for PaneMonitorVerdict
impl PartialEq for PaneMonitorVerdict
Source§fn eq(&self, other: &PaneMonitorVerdict) -> bool
fn eq(&self, other: &PaneMonitorVerdict) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for PaneMonitorVerdict
impl Serialize for PaneMonitorVerdict
impl StructuralPartialEq for PaneMonitorVerdict
Auto Trait Implementations§
impl Freeze for PaneMonitorVerdict
impl RefUnwindSafe for PaneMonitorVerdict
impl Send for PaneMonitorVerdict
impl Sync for PaneMonitorVerdict
impl Unpin for PaneMonitorVerdict
impl UnsafeUnpin for PaneMonitorVerdict
impl UnwindSafe for PaneMonitorVerdict
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