Struct rocksdb::backup::RestoreOptions
source · pub struct RestoreOptions { /* private fields */ }
Implementations§
source§impl RestoreOptions
impl RestoreOptions
sourcepub fn set_keep_log_files(&mut self, keep_log_files: bool)
pub fn set_keep_log_files(&mut self, keep_log_files: bool)
Sets keep_log_files
. If true, restore won’t overwrite the existing log files in wal_dir.
It will also move all log files from archive directory to wal_dir. Use this option in
combination with BackupEngineOptions::backup_log_files = false for persisting in-memory
databases.
Default: false
Trait Implementations§
source§impl Default for RestoreOptions
impl Default for RestoreOptions
Auto Trait Implementations§
impl Freeze for RestoreOptions
impl RefUnwindSafe for RestoreOptions
impl !Send for RestoreOptions
impl !Sync for RestoreOptions
impl Unpin for RestoreOptions
impl UnwindSafe for RestoreOptions
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more