Trait EventSender
Source pub trait EventSender:
Send
+ Sync
+ 'static {
// Required method
fn send_event<'life0, 'async_trait>(
&'life0 self,
event: HashMap<String, String>,
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
// Provided method
fn send_map<'life0, 'async_trait>(
&'life0 self,
map: HashMap<String, String>,
tx: Sender<Result<HashMap<String, String>, Status>>,
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait { ... }
}