Trait glean_core::GleanEventListener
source · pub trait GleanEventListener: Send {
// Required method
fn on_event_recorded(&self, id: String);
}
Expand description
A callback handler that receives the base identifier of recorded events
The identifier is in the format: <category>.<name>
Required Methods§
sourcefn on_event_recorded(&self, id: String)
fn on_event_recorded(&self, id: String)
Called when an event is recorded, indicating the id of the event