pub trait AsyncBlockProcessor {
// Required methods
fn on_begin_async_scope(
&mut self,
block_id: &str,
scope: ScopeDesc,
ts: i64,
span_id: i64,
parent_span_id: i64,
depth: u32,
) -> Result<bool, Error>;
fn on_end_async_scope(
&mut self,
block_id: &str,
scope: ScopeDesc,
ts: i64,
span_id: i64,
parent_span_id: i64,
depth: u32,
) -> Result<bool, Error>;
}Expand description
Trait for processing async event blocks.