|
|
|
@ -860,7 +860,7 @@ impl Default for CuckooTableOptions { |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
// Verbosity of the LOG.
|
|
|
|
|
#[derive(Debug, Copy, Clone, PartialEq)] |
|
|
|
|
#[derive(Debug, Copy, Clone, PartialEq, Eq)] |
|
|
|
|
#[repr(i32)] |
|
|
|
|
pub enum LogLevel { |
|
|
|
|
Debug = 0, |
|
|
|
@ -3271,7 +3271,7 @@ impl Default for WriteOptions { |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
#[derive(Debug, Copy, Clone, PartialEq)] |
|
|
|
|
#[derive(Debug, Copy, Clone, PartialEq, Eq)] |
|
|
|
|
#[cfg_attr(feature = "serde1", derive(serde::Serialize, serde::Deserialize))] |
|
|
|
|
#[repr(i32)] |
|
|
|
|
pub enum ReadTier { |
|
|
|
@ -3644,7 +3644,7 @@ pub struct PlainTableFactoryOptions { |
|
|
|
|
pub index_sparseness: usize, |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
#[derive(Debug, Copy, Clone, PartialEq)] |
|
|
|
|
#[derive(Debug, Copy, Clone, PartialEq, Eq)] |
|
|
|
|
#[cfg_attr(feature = "serde1", derive(serde::Serialize, serde::Deserialize))] |
|
|
|
|
pub enum DBCompressionType { |
|
|
|
|
None = ffi::rocksdb_no_compression as isize, |
|
|
|
@ -3656,7 +3656,7 @@ pub enum DBCompressionType { |
|
|
|
|
Zstd = ffi::rocksdb_zstd_compression as isize, |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
#[derive(Debug, Copy, Clone, PartialEq)] |
|
|
|
|
#[derive(Debug, Copy, Clone, PartialEq, Eq)] |
|
|
|
|
#[cfg_attr(feature = "serde1", derive(serde::Serialize, serde::Deserialize))] |
|
|
|
|
pub enum DBCompactionStyle { |
|
|
|
|
Level = ffi::rocksdb_level_compaction as isize, |
|
|
|
@ -3664,7 +3664,7 @@ pub enum DBCompactionStyle { |
|
|
|
|
Fifo = ffi::rocksdb_fifo_compaction as isize, |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
#[derive(Debug, Copy, Clone, PartialEq)] |
|
|
|
|
#[derive(Debug, Copy, Clone, PartialEq, Eq)] |
|
|
|
|
#[cfg_attr(feature = "serde1", derive(serde::Serialize, serde::Deserialize))] |
|
|
|
|
pub enum DBRecoveryMode { |
|
|
|
|
TolerateCorruptedTailRecords = ffi::rocksdb_tolerate_corrupted_tail_records_recovery as isize, |
|
|
|
@ -3674,7 +3674,7 @@ pub enum DBRecoveryMode { |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/// File access pattern once a compaction has started
|
|
|
|
|
#[derive(Debug, Copy, Clone, PartialEq)] |
|
|
|
|
#[derive(Debug, Copy, Clone, PartialEq, Eq)] |
|
|
|
|
#[cfg_attr(feature = "serde1", derive(serde::Serialize, serde::Deserialize))] |
|
|
|
|
#[repr(i32)] |
|
|
|
|
pub enum AccessHint { |
|
|
|
@ -3722,7 +3722,7 @@ impl FifoCompactOptions { |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
#[derive(Debug, Copy, Clone, PartialEq)] |
|
|
|
|
#[derive(Debug, Copy, Clone, PartialEq, Eq)] |
|
|
|
|
#[cfg_attr(feature = "serde1", derive(serde::Serialize, serde::Deserialize))] |
|
|
|
|
pub enum UniversalCompactionStopStyle { |
|
|
|
|
Similar = ffi::rocksdb_similar_size_compaction_stop_style as isize, |
|
|
|
@ -3838,7 +3838,7 @@ impl UniversalCompactOptions { |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
#[derive(Debug, Copy, Clone, PartialEq)] |
|
|
|
|
#[derive(Debug, Copy, Clone, PartialEq, Eq)] |
|
|
|
|
#[cfg_attr(feature = "serde1", derive(serde::Serialize, serde::Deserialize))] |
|
|
|
|
#[repr(u8)] |
|
|
|
|
pub enum BottommostLevelCompaction { |
|
|
|
|