pub trait AggregateContextTrait<P>{
// Required methods
fn emit(
&mut self,
event_type: &str,
event: Box<dyn ApplicableTo<P, Event>>
) -> Result<(), Error>;
fn get_projection<'life0, 'life1, 'async_trait>(
&'life0 mut self,
aggregate_id: &'life1 str
) -> Pin<Box<dyn Future<Output = Result<P, Error>> + Send + 'async_trait>>
where 'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait;
}