Trait tc_transact::Transaction [−][src]
Common transaction context properties.
Required methods
fn id(&self) -> &TxnId
[src]
The TxnId
of this transaction context.
fn context(&self) -> &D
[src]
The fs::Dir
of this transaction context.
#[must_use]fn subcontext<'life0, 'async_trait>(
&'life0 self,
id: Id
) -> Pin<Box<dyn Future<Output = TCResult<Self>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
id: Id
) -> Pin<Box<dyn Future<Output = TCResult<Self>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
A transaction subcontext with its own fs::Dir
.