Writer

Trait Writer 

Source
pub trait Writer:
    'static
    + Sync
    + Send {
    // Required method
    fn write<'life0, 'async_trait>(
        &'life0 self,
        aggregate_id: EntityId,
        payload: Payload,
    ) -> Pin<Box<dyn Future<Output = Result<(), ProtocolError>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
}

Required Methods§

Source

fn write<'life0, 'async_trait>( &'life0 self, aggregate_id: EntityId, payload: Payload, ) -> Pin<Box<dyn Future<Output = Result<(), ProtocolError>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Implementors§