Function restore
pub fn restore(
target: &dyn Target,
dir: &Path,
opts: &RestoreOptions,
) -> Result<Restored>Expand description
Rebuilds dir from target at the newest restore point at or before
opts.at_ms: a local data directory (log format 3) that opens and
recovers to exactly what had been acknowledged at that time. dir must
not exist or be empty.