Trait tc_transact::fs::Block [−][src]
A transactional filesystem block.
Associated Types
Loading content...Required methods
#[must_use]fn read<'life0, 'life1, 'async_trait>(
&'life0 self,
txn_id: &'life1 TxnId
) -> Pin<Box<dyn Future<Output = TCResult<Self::ReadLock>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
txn_id: &'life1 TxnId
) -> Pin<Box<dyn Future<Output = TCResult<Self::ReadLock>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
Get a read lock on this block.
#[must_use]fn write<'life0, 'life1, 'async_trait>(
&'life0 self,
txn_id: &'life1 TxnId
) -> Pin<Box<dyn Future<Output = TCResult<Self::WriteLock>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
txn_id: &'life1 TxnId
) -> Pin<Box<dyn Future<Output = TCResult<Self::WriteLock>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait,
Get a write lock on this block.