pub struct KVStoreConfig {
pub max_keys: usize,
pub enable_notifications: bool,
pub snapshot_frequency: usize,
pub enable_compression: bool,
pub max_value_size: usize,
}Expand description
Configuration for the KVStore
Fields§
§max_keys: usizeMaximum number of keys to store
enable_notifications: boolEnable change notifications
snapshot_frequency: usizeSnapshot frequency (number of operations)
enable_compression: boolEnable compression for large values
max_value_size: usizeMaximum value size in bytes
Trait Implementations§
Source§impl Clone for KVStoreConfig
impl Clone for KVStoreConfig
Source§fn clone(&self) -> KVStoreConfig
fn clone(&self) -> KVStoreConfig
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 KVStoreConfig
impl Debug for KVStoreConfig
Auto Trait Implementations§
impl Freeze for KVStoreConfig
impl RefUnwindSafe for KVStoreConfig
impl Send for KVStoreConfig
impl Sync for KVStoreConfig
impl Unpin for KVStoreConfig
impl UnsafeUnpin for KVStoreConfig
impl UnwindSafe for KVStoreConfig
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