pub struct RestoreOptions<'a> {
pub previous_infix: &'a str,
pub failed_infix: &'a str,
pub verify: Option<RestoreVerify<'a>>,
}Expand description
Names and the optional check for restore_database.
Fields§
§previous_infix: &'a strThe previous store is kept as <db><previous_infix><unix-ms>. Default .pre-restore-.
failed_infix: &'a strA restored copy that failed its check is kept as <db><failed_infix><unix-ms>. Default
.restore-failed-.
verify: Option<RestoreVerify<'a>>Check the placed store. None trusts the integrity check made before placing.
Trait Implementations§
Source§impl<'a> Clone for RestoreOptions<'a>
impl<'a> Clone for RestoreOptions<'a>
impl<'a> Copy for RestoreOptions<'a>
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for RestoreOptions<'a>
impl<'a> !Send for RestoreOptions<'a>
impl<'a> !Sync for RestoreOptions<'a>
impl<'a> !UnwindSafe for RestoreOptions<'a>
impl<'a> Freeze for RestoreOptions<'a>
impl<'a> Unpin for RestoreOptions<'a>
impl<'a> UnsafeUnpin for RestoreOptions<'a>
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