Trait AsEventValue

Source
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.

Required Methods§

Source

fn event_id() -> &'static str
where Self: Sized,

Implementors§