pub enum GuardRef {
Age(u16),
Rate(u16),
}Expand description
One guard member: which monitor row’s verdict says this topic has faulted.
The observer adds no detector of its own. A guard topic has faulted when
the row the image already bakes for it says so: an age row whose
silence-runtime lease is reported, or a rate row whose last window was
short (min-rate-runtime). Reading the rows’ state rather than their
violations keeps the two in step by construction – a hazard cannot be
detected by a rule that did not fire, nor stay detected after it recovered.
Variants§
Age(u16)
Row index into the executor’s age table.
Rate(u16)
Row index into the executor’s rate/latency table.
Trait Implementations§
impl Copy for GuardRef
impl Eq for GuardRef
impl StructuralPartialEq for GuardRef
Auto Trait Implementations§
impl Freeze for GuardRef
impl RefUnwindSafe for GuardRef
impl Send for GuardRef
impl Sync for GuardRef
impl Unpin for GuardRef
impl UnsafeUnpin for GuardRef
impl UnwindSafe for GuardRef
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