Trait tc_transact::fs::Restore
source · [−]pub trait Restore<D: Dir>: Persist<D> {
fn restore<'life0, 'life1, 'async_trait>(
&'life0 self,
backup: &'life1 Self,
txn_id: TxnId
) -> Pin<Box<dyn Future<Output = TCResult<()>> + Send + 'async_trait>>
where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait;
}
Expand description
Defines how to restore persistent state from backup.