pub trait AsEventValue:
Any
+ Send
+ Sync
+ Debug {
// Required method
fn event_id() -> &'static str
where Self: Sized;
}
Expand description
Trait for event types that can be emitted.
This trait provides a string identifier for each event type, used internally for routing and type checking.