pub struct LsmStorageOptions {
pub block_size: usize,
pub target_sst_size: usize,
pub num_memtable_limit: usize,
pub compaction_options: CompactionOptions,
pub enable_wal: bool,
pub serializable: bool,
}Fields§
§block_size: usize§target_sst_size: usize§num_memtable_limit: usize§compaction_options: CompactionOptions§enable_wal: bool§serializable: boolImplementations§
Source§impl LsmStorageOptions
impl LsmStorageOptions
pub fn default_for_week1_test() -> Self
pub fn default_for_week1_day6_test() -> Self
pub fn default_for_week2_test(compaction_options: CompactionOptions) -> Self
Trait Implementations§
Source§impl Clone for LsmStorageOptions
impl Clone for LsmStorageOptions
Source§fn clone(&self) -> LsmStorageOptions
fn clone(&self) -> LsmStorageOptions
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 moreAuto Trait Implementations§
impl Freeze for LsmStorageOptions
impl RefUnwindSafe for LsmStorageOptions
impl Send for LsmStorageOptions
impl Sync for LsmStorageOptions
impl Unpin for LsmStorageOptions
impl UnwindSafe for LsmStorageOptions
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