pub trait ThreadBlockProcessor {
// Required methods
fn on_begin_thread_scope(
&mut self,
block_id: &str,
event_id: i64,
scope: ScopeDesc,
ts: i64,
) -> Result<bool, Error>;
fn on_end_thread_scope(
&mut self,
block_id: &str,
event_id: i64,
scope: ScopeDesc,
ts: i64,
) -> Result<bool, Error>;
}Expand description
A trait for processing thread event blocks.