pub struct SnapshotOptions {
pub keep_wal: bool,
}Expand description
Options for GraphDb::snapshot_with.
Fields§
§keep_wal: boolWhen true, the WAL is preserved after the snapshot write.
Pre-snapshot commits remain reachable via GraphDb::open_at.
When false (the default), the WAL is truncated to a minimal
baseline so cold-start replay stays fast.
Trait Implementations§
Source§impl Clone for SnapshotOptions
impl Clone for SnapshotOptions
Source§fn clone(&self) -> SnapshotOptions
fn clone(&self) -> SnapshotOptions
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 SnapshotOptions
impl Debug for SnapshotOptions
Source§impl Default for SnapshotOptions
impl Default for SnapshotOptions
Source§fn default() -> SnapshotOptions
fn default() -> SnapshotOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for SnapshotOptions
impl RefUnwindSafe for SnapshotOptions
impl Send for SnapshotOptions
impl Sync for SnapshotOptions
impl Unpin for SnapshotOptions
impl UnsafeUnpin for SnapshotOptions
impl UnwindSafe for SnapshotOptions
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