[−][src]Trait actor_es::CommitStore
Required methods
fn keys(&self) -> BoxStream<'_, CommitResult<EntityId>>
fn change_list(&self, id: EntityId) -> BoxStream<'_, CommitResult<Commit<M>>>
#[must_use]fn commit<'life0, 'async_trait>(
&'life0 self,
c: Commit<M>
) -> Pin<Box<dyn Future<Output = CommitResult<()>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
&'life0 self,
c: Commit<M>
) -> Pin<Box<dyn Future<Output = CommitResult<()>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Provided methods
fn entities(&self) -> BoxStream<'_, CommitResult<TimeTraveler<'_, M>>>
#[must_use]fn get<'life0, 'async_trait>(
&'life0 self,
id: EntityId
) -> Pin<Box<dyn Future<Output = CommitResult<TimeTraveler<'_, M>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
&'life0 self,
id: EntityId
) -> Pin<Box<dyn Future<Output = CommitResult<TimeTraveler<'_, M>>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
#[must_use]fn snapshot<'life0, 'async_trait>(
&'life0 self,
id: EntityId,
time: DateTime<Utc>
) -> Pin<Box<dyn Future<Output = CommitResult<M>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
&'life0 self,
id: EntityId,
time: DateTime<Utc>
) -> Pin<Box<dyn Future<Output = CommitResult<M>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Implementors
impl<M: Model> CommitStore<M> for MemStore<M>
[src]
fn keys(&self) -> BoxStream<'_, CommitResult<EntityId>>
[src]
fn change_list(&self, id: EntityId) -> BoxStream<'_, CommitResult<Commit<M>>>
[src]
fn commit<'life0, 'async_trait>(
&'life0 self,
c: Commit<M>
) -> Pin<Box<dyn Future<Output = Result<(), CommitError>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
c: Commit<M>
) -> Pin<Box<dyn Future<Output = Result<(), CommitError>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,