pub trait EventConsumer<Types>where
Types: NodeType,{
// Required method
fn handle_event<'life0, 'async_trait>(
&'life0 mut self,
event: Event<Types>,
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
}