Skip to main content

EventHub

Trait EventHub 

Source
pub trait EventHub: Send + Sync {
    // Required method
    fn send(&self, event: EventData);
}

Required Methods§

Source

fn send(&self, event: EventData)

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§