pub trait Trace {
// Required methods
fn on_pre(&mut self, ctx: &CallContext);
fn on_post(&mut self, ctx: &CallContext);
}Expand description
Tracing interface invoked by #[trace] and #[trace_with]
Required Methods§
Sourcefn on_pre(&mut self, ctx: &CallContext)
fn on_pre(&mut self, ctx: &CallContext)
Called immediately after entering the function
Sourcefn on_post(&mut self, ctx: &CallContext)
fn on_post(&mut self, ctx: &CallContext)
Called immediately before returning from the function