pub trait CalcObserver: Send + Sync {
// Required methods
fn on_eval_start(&self, vertex_id: VertexId);
fn on_eval_complete(&self, vertex_id: VertexId, duration: Duration);
fn on_cycle_detected(&self, cycle: &[VertexId]);
fn on_dirty_propagation(&self, vertex_id: VertexId, affected_count: usize);
}Expand description
🔮 Scalability Hook: Performance monitoring trait for calculation observability
Required Methods§
fn on_eval_start(&self, vertex_id: VertexId)
fn on_eval_complete(&self, vertex_id: VertexId, duration: Duration)
fn on_cycle_detected(&self, cycle: &[VertexId])
fn on_dirty_propagation(&self, vertex_id: VertexId, affected_count: usize)
Implementations on Foreign Types§
Source§impl CalcObserver for ()
Default no-op observer
impl CalcObserver for ()
Default no-op observer