Trait EventSender
Source pub trait EventSender:
Send
+ Sync
+ 'static {
// Required method
fn send_event<'life0, 'async_trait>(
&'life0 self,
event: Vec<ConnectionEvent>,
) -> 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: Vec<ConnectionEvent>,
tx: Sender<Result<Vec<ConnectionEvent>, Status>>,
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait { ... }
}