Trait tc_transact::fs::Restore
source · pub trait Restore<FE: ThreadSafe + Clone>: Persist<FE> {
// Required method
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
Restore a persistent state from a backup.
Required Methods§
Object Safety§
This trait is not object safe.