pub trait TracerImplExt: ObjectSubclass {
    // Required method
    fn register_hook(&self, hook: TracerHook);
}

Required Methods§

source

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.

Implementors§

source§

impl<T> TracerImplExt for T
where T: TracerImpl,