pub struct FileDbParams {
pub val_buf_size: FileBufSizeParam,
pub key_buf_size: FileBufSizeParam,
pub idx_buf_size: FileBufSizeParam,
pub htx_buf_size: FileBufSizeParam,
pub buckets_size: HashBucketsParam,
}Expand description
Parameters of filedb.
chunk_size is MUST power of 2.
Fields§
§val_buf_size: FileBufSizeParambuffer size of val file buffer. Default is auto buffer size.
key_buf_size: FileBufSizeParambuffer size of key file buffer. Default is full buffer size.
idx_buf_size: FileBufSizeParambuffer size of idx file buffer. Default is full buffer size.
htx_buf_size: FileBufSizeParambuffer size of htx file buffer. Default is full buffer size.
buckets_size: HashBucketsParamhash buckets size at cretation time.
Trait Implementations§
Source§impl Clone for FileDbParams
impl Clone for FileDbParams
Source§fn clone(&self) -> FileDbParams
fn clone(&self) -> FileDbParams
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 FileDbParams
impl Debug for FileDbParams
Auto Trait Implementations§
impl Freeze for FileDbParams
impl RefUnwindSafe for FileDbParams
impl Send for FileDbParams
impl Sync for FileDbParams
impl Unpin for FileDbParams
impl UnsafeUnpin for FileDbParams
impl UnwindSafe for FileDbParams
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