Skip to main content

TelemetryCallback

Type Alias TelemetryCallback 

Source
pub type TelemetryCallback<E> = Box<dyn Fn(&E) + Send + Sync>;
Expand description

Callback type for telemetry hooks.

Generic over the entry type so each subsystem can observe its own domain-specific entries.

Aliased Typeยง

pub struct TelemetryCallback<E>(/* private fields */);