Struct bitcask_rs::ConfigBuilder [−][src]
pub struct ConfigBuilder { /* fields omitted */ }
Builder for Config
.
Methods
impl ConfigBuilder
[src]
impl ConfigBuilder
ⓘImportant traits for &'a mut Rpub fn path(&mut self, value: PathBuf) -> &mut Self
[src]
ⓘImportant traits for &'a mut R
pub fn path(&mut self, value: PathBuf) -> &mut Self
ⓘImportant traits for &'a mut Rpub fn max_size_per_segment(&mut self, value: u64) -> &mut Self
[src]
ⓘImportant traits for &'a mut R
pub fn max_size_per_segment(&mut self, value: u64) -> &mut Self
ⓘImportant traits for &'a mut Rpub fn max_file_id(&mut self, value: u64) -> &mut Self
[src]
ⓘImportant traits for &'a mut R
pub fn max_file_id(&mut self, value: u64) -> &mut Self
ⓘImportant traits for &'a mut Rpub fn min_merge_file_id(&mut self, value: u64) -> &mut Self
[src]
ⓘImportant traits for &'a mut R
pub fn min_merge_file_id(&mut self, value: u64) -> &mut Self
pub fn build(&self) -> Result<Config, String>
[src]
pub fn build(&self) -> Result<Config, String>
Trait Implementations
impl Default for ConfigBuilder
[src]
impl Default for ConfigBuilder
fn default() -> ConfigBuilder
[src]
fn default() -> ConfigBuilder
Returns the "default value" for a type. Read more
impl Clone for ConfigBuilder
[src]
impl Clone for ConfigBuilder
fn clone(&self) -> ConfigBuilder
[src]
fn clone(&self) -> ConfigBuilder
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
Auto Trait Implementations
impl Send for ConfigBuilder
impl Send for ConfigBuilder
impl Sync for ConfigBuilder
impl Sync for ConfigBuilder