pub struct LsmTreeMapSettings {
pub max_node_entries: u64,
pub max_active_entries: u64,
pub max_run_count: u64,
}Fields§
§max_node_entries: u64Max entries (K/V pairs) count in a leaf node.
max_active_entries: u64Limits entries (K/V pairs) in active (in memory) run. Overruning this limit will cause a new L0 run gets created.
max_run_count: u64Limits runs in a level. Overruning this limit will cause a compaction to next level.
Implementations§
Source§impl LsmTreeMapSettings
impl LsmTreeMapSettings
Sourcepub fn is_default(&self) -> bool
pub fn is_default(&self) -> bool
Wherter this are default settings.
Trait Implementations§
Source§impl Clone for LsmTreeMapSettings
impl Clone for LsmTreeMapSettings
Source§fn clone(&self) -> LsmTreeMapSettings
fn clone(&self) -> LsmTreeMapSettings
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 LsmTreeMapSettings
impl Debug for LsmTreeMapSettings
Source§impl Default for LsmTreeMapSettings
impl Default for LsmTreeMapSettings
Source§impl<'de> Deserialize<'de> for LsmTreeMapSettings
impl<'de> Deserialize<'de> for LsmTreeMapSettings
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
Source§impl PartialEq for LsmTreeMapSettings
impl PartialEq for LsmTreeMapSettings
Source§impl Serialize for LsmTreeMapSettings
impl Serialize for LsmTreeMapSettings
impl StructuralPartialEq for LsmTreeMapSettings
Auto Trait Implementations§
impl Freeze for LsmTreeMapSettings
impl RefUnwindSafe for LsmTreeMapSettings
impl Send for LsmTreeMapSettings
impl Sync for LsmTreeMapSettings
impl Unpin for LsmTreeMapSettings
impl UnsafeUnpin for LsmTreeMapSettings
impl UnwindSafe for LsmTreeMapSettings
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more