pub fn collect_events() -> Vec<EventSpec>
Collect the EventSpec metadata of all event definitions linked and used in the binary.
EventSpec