Struct pagecache::Config
[−]
[src]
pub struct Config { /* fields omitted */ }
A finalized ConfigBuilder
that can be use multiple times
to open a Tree
or Log
.
Methods from Deref<Target = ConfigBuilder>
fn path<P: AsRef<Path>>(self, path: P) -> ConfigBuilder
[src]
Set the path of the database (builder).
fn build(self) -> Config
[src]
Finalize the configuration.
fn io_bufs(self, to: usize) -> ConfigBuilder
[src]
fn io_buf_size(self, to: usize) -> ConfigBuilder
[src]
fn min_items_per_segment(self, to: usize) -> ConfigBuilder
[src]
fn blink_fanout(self, to: usize) -> ConfigBuilder
[src]
fn page_consolidation_threshold(self, to: usize) -> ConfigBuilder
[src]
fn temporary(self, to: bool) -> ConfigBuilder
[src]
fn read_only(self, to: bool) -> ConfigBuilder
[src]
fn cache_bits(self, to: usize) -> ConfigBuilder
[src]
fn cache_capacity(self, to: usize) -> ConfigBuilder
[src]
fn use_os_cache(self, to: bool) -> ConfigBuilder
[src]
fn use_compression(self, to: bool) -> ConfigBuilder
[src]
fn zstd_compression_factor(self, to: i32) -> ConfigBuilder
[src]
fn flush_every_ms(self, to: Option<u64>) -> ConfigBuilder
[src]
fn snapshot_after_ops(self, to: usize) -> ConfigBuilder
[src]
fn cache_fixup_threshold(self, to: usize) -> ConfigBuilder
[src]
fn segment_cleanup_threshold(self, to: f64) -> ConfigBuilder
[src]
fn min_free_segments(self, to: usize) -> ConfigBuilder
[src]
fn zero_copy_storage(self, to: bool) -> ConfigBuilder
[src]
fn segment_mode(self, to: SegmentMode) -> ConfigBuilder
[src]
fn snapshot_path(self, to: Option<OsString>) -> ConfigBuilder
[src]
Trait Implementations
impl Deref for Config
[src]
type Target = ConfigBuilder
The resulting type after dereferencing.
fn deref(&self) -> &Self::Target
[src]
Dereferences the value.
impl Debug for Config
[src]
impl Send for Config
[src]
impl Sync for Config
[src]
impl Clone for Config
[src]
fn clone(&self) -> Config
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more