Trait tc_transact::hash::AsyncHash
source · pub trait AsyncHash: Send + Sync {
// Required method
fn hash<'life0, 'async_trait>(
&'life0 self,
txn_id: TxnId,
) -> Pin<Box<dyn Future<Output = TCResult<Output<Sha256>>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
}
Expand description
Defines a method to compute the hash of this state as of a given TxnId