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