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