#[repr(C)]pub struct ReactionEvent {
pub reaction_id: u32,
pub row: u32,
pub rule_code: u32,
pub measured_ms: u32,
pub declared_ms: u32,
pub mechanism: u8,
}Expand description
phase-503 – what the reaction hook receives when a supervised route
passes its deadline. repr(C): the C ABI hands the same struct through.
Fields§
§reaction_id: u32MonitorSpec::reaction_id of the row.
row: u32Index of the row in the installed monitor table.
rule_code: u32rule_code of the verdict (route-deadline-runtime).
measured_ms: u32Time from the take to the check, ms.
declared_ms: u32The deadline, ms.
mechanism: u8MonitorSpec::mechanism of the row.
Trait Implementations§
Source§impl Clone for ReactionEvent
impl Clone for ReactionEvent
Source§fn clone(&self) -> ReactionEvent
fn clone(&self) -> ReactionEvent
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 ReactionEvent
Source§impl Debug for ReactionEvent
impl Debug for ReactionEvent
impl Eq for ReactionEvent
Source§impl PartialEq for ReactionEvent
impl PartialEq for ReactionEvent
impl StructuralPartialEq for ReactionEvent
Auto Trait Implementations§
impl Freeze for ReactionEvent
impl RefUnwindSafe for ReactionEvent
impl Send for ReactionEvent
impl Sync for ReactionEvent
impl Unpin for ReactionEvent
impl UnsafeUnpin for ReactionEvent
impl UnwindSafe for ReactionEvent
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