pub struct RuleStats {
pub name: String,
pub edges: u64,
pub tripped: bool,
pub fires: u64,
pub approximate: bool,
}Expand description
One rule’s provenance size, trip latch, and fire counter.
tripped is a one-way latch: once set, the engine adds no new edges for
that rule until GraphDb::rebuild_rule (and only if the full desired
set then fits). fires counts on_node_changed evaluations plus
backfill/rebuild participant ticks (rebuild counts even when it is a
provenance no-op).
Fields§
§name: String§edges: u64§tripped: bool§fires: u64§approximate: boolWhether this rule uses the approximate IVF-Flat candidate path.
Trait Implementations§
impl Eq for RuleStats
impl StructuralPartialEq for RuleStats
Auto Trait Implementations§
impl Freeze for RuleStats
impl RefUnwindSafe for RuleStats
impl Send for RuleStats
impl Sync for RuleStats
impl Unpin for RuleStats
impl UnsafeUnpin for RuleStats
impl UnwindSafe for RuleStats
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