pub type TraceCallback = dyn Fn(&RegistryEvent) + Send + Sync + 'static;Expand description
Type alias for the user-supplied tracing callback.
The callback receives a reference to a RegistryEvent every time the registry is
interacted with. It must be thread-safe because the registry itself is globally shared.