pub struct Options {
pub dir: PathBuf,
pub isolation_level: IsolationLevel,
pub max_key_size: u64,
pub max_value_size: u64,
pub max_value_threshold: usize,
pub max_segment_size: u64,
pub max_value_cache_size: u64,
pub max_compaction_segment_size: u64,
pub disk_persistence: bool,
}
Fields§
§dir: PathBuf
§isolation_level: IsolationLevel
§max_key_size: u64
§max_value_size: u64
§max_value_threshold: usize
§max_segment_size: u64
§max_value_cache_size: u64
§max_compaction_segment_size: u64
§disk_persistence: bool
Implementations§
Trait Implementations§
source§impl PartialEq for Options
impl PartialEq for Options
source§impl Revisioned for Options
impl Revisioned for Options
impl Eq for Options
impl StructuralPartialEq for Options
Auto Trait Implementations§
impl Freeze for Options
impl RefUnwindSafe for Options
impl Send for Options
impl Sync for Options
impl Unpin for Options
impl UnwindSafe for Options
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.