pub trait EventSender: Clone + Sync + Send + 'static {
    // Required method
    fn send(&self, event: Event) -> BoxFuture<'_, ()>;
}
Expand description

Trait for sending events.

Required Methods§

source

fn send(&self, event: Event) -> BoxFuture<'_, ()>

Send an event.

Object Safety§

This trait is not object safe.

Implementors§