pub enum HazardMonitorRef {
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§
Source§impl Clone for HazardMonitorRef
impl Clone for HazardMonitorRef
Source§fn clone(&self) -> HazardMonitorRef
fn clone(&self) -> HazardMonitorRef
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 HazardMonitorRef
Source§impl Debug for HazardMonitorRef
impl Debug for HazardMonitorRef
impl Eq for HazardMonitorRef
Source§impl PartialEq for HazardMonitorRef
impl PartialEq for HazardMonitorRef
impl StructuralPartialEq for HazardMonitorRef
Auto Trait Implementations§
impl Freeze for HazardMonitorRef
impl RefUnwindSafe for HazardMonitorRef
impl Send for HazardMonitorRef
impl Sync for HazardMonitorRef
impl Unpin for HazardMonitorRef
impl UnsafeUnpin for HazardMonitorRef
impl UnwindSafe for HazardMonitorRef
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