Skip to main content

EventRoute

Trait EventRoute 

Source
pub trait EventRoute {
    // Required method
    fn route(&self) -> &str;
}
Expand description

Trait for routing events to the appropriate handler by string key

Required Methods§

Source

fn route(&self) -> &str

Implementors§