pub struct SnapshotConfig {
pub min_operations_between: u64,
pub max_time_between: u64,
pub max_snapshots: usize,
pub auto_snapshot: bool,
}Expand description
Configuration for snapshot management.
Fields§
§min_operations_between: u64Minimum operations between snapshots.
max_time_between: u64Maximum time between snapshots (in logical time units).
max_snapshots: usizeMaximum number of snapshots to retain.
auto_snapshot: boolWhether to automatically create snapshots.
Trait Implementations§
Source§impl Clone for SnapshotConfig
impl Clone for SnapshotConfig
Source§fn clone(&self) -> SnapshotConfig
fn clone(&self) -> SnapshotConfig
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 SnapshotConfig
impl Debug for SnapshotConfig
Source§impl Default for SnapshotConfig
impl Default for SnapshotConfig
Source§impl From<SnapshotConfigSerializable> for SnapshotConfig
impl From<SnapshotConfigSerializable> for SnapshotConfig
Source§fn from(s: SnapshotConfigSerializable) -> Self
fn from(s: SnapshotConfigSerializable) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for SnapshotConfig
impl RefUnwindSafe for SnapshotConfig
impl Send for SnapshotConfig
impl Sync for SnapshotConfig
impl Unpin for SnapshotConfig
impl UnwindSafe for SnapshotConfig
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