pub struct SafeExportOptions {
pub force_checkpoint: bool,
}Expand description
Options controlling how a safe database export is performed.
Fields§
§force_checkpoint: boolWhen true, runs PRAGMA wal_checkpoint(FULL) before copying and fails if
any WAL frames could not be applied (busy != 0). Set to false only in
tests that seed a database without WAL mode.
Trait Implementations§
Source§impl Clone for SafeExportOptions
impl Clone for SafeExportOptions
Source§fn clone(&self) -> SafeExportOptions
fn clone(&self) -> SafeExportOptions
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SafeExportOptions
impl Debug for SafeExportOptions
Source§impl Default for SafeExportOptions
impl Default for SafeExportOptions
impl Copy for SafeExportOptions
Auto Trait Implementations§
impl Freeze for SafeExportOptions
impl RefUnwindSafe for SafeExportOptions
impl Send for SafeExportOptions
impl Sync for SafeExportOptions
impl Unpin for SafeExportOptions
impl UnsafeUnpin for SafeExportOptions
impl UnwindSafe for SafeExportOptions
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