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§

source

fn on_event_recorded(&self, id: String)

Called when an event is recorded, indicating the id of the event

Implementors§