Struct lsm::Params [−][src]
Parameters to customize the creation of the database
Fields
db_path: PathBuf
Where in the filesystem should the databasse be stored?
max_memtable_size: usize
Maximum size of a memtable (keys+values), This indirectly also defines how large a value block can be
num_levels: usize
How many levels does this store have (default: 5)
max_open_files: usize
How many open files should be held in memory?
max_key_block_size: usize
Maximum number of entries in a key block
block_restart_interval: usize
How often should the full key be stored in a data block? Larger numbers result in smaller on-disk files, but seeks will be slower
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Params
impl Send for Params
impl Sync for Params
impl Unpin for Params
impl UnwindSafe for Params
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,