pub struct DatabaseStorageOptions {
pub commit_interval: u32,
pub compaction_threshold_bytes: u64,
}Fields§
§commit_interval: u32Number of point operations (set/get/del, matching the JS behavior)
before checkpointing the current scratch-state transaction.
compaction_threshold_bytes: u64Reserved for the production incremental-vacuum threshold. The current implementation clears rows correctly but does not run compaction yet.
Trait Implementations§
Source§impl Clone for DatabaseStorageOptions
impl Clone for DatabaseStorageOptions
Source§fn clone(&self) -> DatabaseStorageOptions
fn clone(&self) -> DatabaseStorageOptions
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 DatabaseStorageOptions
impl Debug for DatabaseStorageOptions
Source§impl Default for DatabaseStorageOptions
impl Default for DatabaseStorageOptions
Source§fn default() -> DatabaseStorageOptions
fn default() -> DatabaseStorageOptions
Returns the “default value” for a type. Read more
impl Copy for DatabaseStorageOptions
Auto Trait Implementations§
impl Freeze for DatabaseStorageOptions
impl RefUnwindSafe for DatabaseStorageOptions
impl Send for DatabaseStorageOptions
impl Sync for DatabaseStorageOptions
impl Unpin for DatabaseStorageOptions
impl UnsafeUnpin for DatabaseStorageOptions
impl UnwindSafe for DatabaseStorageOptions
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