Trait tc_transact::lock::Mutate [−][src]
pub trait Mutate: Send { type Pending: Clone + Send; fn diverge(&self, txn_id: &TxnId) -> Self::Pending; fn converge<'life0, 'async_trait>(
&'life0 mut self,
new_value: Self::Pending
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>
where
'life0: 'async_trait,
Self: 'async_trait; }
Expand description
Define a way to manage transaction-specific versions of a state.
Associated Types
Required methods
Create a new transaction-specific version of this state.