pub type TriggerEventFn<'message> = dyn FnMut(&[OnTrigger]) + 'message;
The type of a callback function to receive trigger events.