pub struct ConfigStoreKVDatabase {Show 29 fields
pub flush_after: u64,
pub write_ahead_log: bool,
pub compress: Option<bool>,
pub parallelism: Option<i32>,
pub max_open_files: Option<i32>,
pub write_buffer_size: Option<usize>,
pub max_write_buffer_number: Option<i32>,
pub min_write_buffer_number: Option<i32>,
pub min_write_buffer_number_to_merge: Option<i32>,
pub block_cache_size: Option<u32>,
pub cache_index_and_filter_blocks: Option<bool>,
pub compression_type: Option<DBCompressionType>,
pub wal_compression_type: Option<DBCompressionType>,
pub wal_ttl_seconds: Option<u64>,
pub wal_size_limit_mb: Option<u64>,
pub wal_bytes_per_sync: Option<u64>,
pub wal_recovery_mode: Option<DBRecoveryMode>,
pub compression_level: Option<i32>,
pub min_level_to_compress: Option<c_int>,
pub level_zero_file_num_compaction_trigger: Option<i32>,
pub level_zero_slowdown_writes_trigger: Option<i32>,
pub level_zero_stop_writes_trigger: Option<i32>,
pub max_bytes_for_level_base: Option<u64>,
pub max_bytes_for_level_multiplier: Option<f64>,
pub target_file_size_base: Option<u64>,
pub max_background_jobs: Option<i32>,
pub max_subcompactions: Option<u32>,
pub max_flushes: Option<u32>,
pub stats_dump_period_sec: Option<u32>,
}Fields§
§flush_after: u64§write_ahead_log: bool§compress: Option<bool>Whether or not to compress.
Will get overriden if compression_type is
also specified.
parallelism: Option<i32>§max_open_files: Option<i32>§write_buffer_size: Option<usize>WARN: In KB!
max_write_buffer_number: Option<i32>§min_write_buffer_number: Option<i32>§min_write_buffer_number_to_merge: Option<i32>§block_cache_size: Option<u32>§cache_index_and_filter_blocks: Option<bool>§compression_type: Option<DBCompressionType>§wal_compression_type: Option<DBCompressionType>§wal_ttl_seconds: Option<u64>§wal_size_limit_mb: Option<u64>§wal_bytes_per_sync: Option<u64>§wal_recovery_mode: Option<DBRecoveryMode>§compression_level: Option<i32>§min_level_to_compress: Option<c_int>§level_zero_file_num_compaction_trigger: Option<i32>§level_zero_slowdown_writes_trigger: Option<i32>§level_zero_stop_writes_trigger: Option<i32>§max_bytes_for_level_base: Option<u64>§max_bytes_for_level_multiplier: Option<f64>§target_file_size_base: Option<u64>§max_background_jobs: Option<i32>§max_subcompactions: Option<u32>§max_flushes: Option<u32>§stats_dump_period_sec: Option<u32>Trait Implementations§
Source§impl<'de> Deserialize<'de> for ConfigStoreKVDatabase
impl<'de> Deserialize<'de> for ConfigStoreKVDatabase
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for ConfigStoreKVDatabase
impl RefUnwindSafe for ConfigStoreKVDatabase
impl Send for ConfigStoreKVDatabase
impl Sync for ConfigStoreKVDatabase
impl Unpin for ConfigStoreKVDatabase
impl UnsafeUnpin for ConfigStoreKVDatabase
impl UnwindSafe for ConfigStoreKVDatabase
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