pub trait TracerImplExt: ObjectSubclass {
// 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.
Object Safety§
This trait is not object safe.