Trait esrs::store::ProjectEvent[][src]

pub trait ProjectEvent<Event: Serialize + DeserializeOwned + Clone + Send + Sync, Executor, Error> {
    #[must_use]
    fn project_event<'life0, 'life1, 'life2, 'async_trait>(
        &'life0 self,
        store_event: &'life1 StoreEvent<Event>,
        executor: &'life2 mut Executor
    ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>
    where
        Executor: 'async_trait,
        'life0: 'async_trait,
        'life1: 'async_trait,
        'life2: 'async_trait,
        Self: 'async_trait
; }

Required methods

#[must_use]
fn project_event<'life0, 'life1, 'life2, 'async_trait>(
    &'life0 self,
    store_event: &'life1 StoreEvent<Event>,
    executor: &'life2 mut Executor
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>> where
    Executor: 'async_trait,
    'life0: 'async_trait,
    'life1: 'async_trait,
    'life2: 'async_trait,
    Self: 'async_trait, 
[src]

Implementors

impl<'c, Evt: Serialize + DeserializeOwned + Clone + Send + Sync, Err: From<Error> + From<Error> + Send + Sync> ProjectEvent<Evt, Transaction<'c, Postgres>, Err> for PgStore<Evt, Err>[src]

fn project_event<'life0, 'life1, 'life2, 'async_trait>(
    &'life0 self,
    store_event: &'life1 StoreEvent<Evt>,
    executor: &'life2 mut Transaction<'c, Postgres>
) -> Pin<Box<dyn Future<Output = Result<(), Err>> + Send + 'async_trait>> where
    'c: 'async_trait,
    'life0: 'async_trait,
    'life1: 'async_trait,
    'life2: 'async_trait,
    Self: 'async_trait, 
[src]