Trait esrs::store::EraserStore[][src]

pub trait EraserStore<Event: Serialize + DeserializeOwned + Send + Sync, Error> {
    fn delete<'life0, 'async_trait>(
        &'life0 self,
        aggregate_id: Uuid
    ) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
; }
Expand description

An EraserStore is responsible for wiping an aggregate isntance from history: it should delete the aggregate instance, along with all of its events, or fail.

Required methods

Implementors