pub trait TracerImplExt: TracerImpl {
// Required method
fn register_hook(&self, hook: TracerHook);
}
Required Methods§
Sourcefn register_hook(&self, hook: TracerHook)
fn register_hook(&self, hook: TracerHook)
Register a corresponding hook to be called for this tracer when certain events occur.
Upon an event a corresponding method in TracerImpl
will be called.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.