Struct ruarango::coll::input::PropsBuilder
source · pub struct PropsBuilder { /* private fields */ }
Expand description
Builder for Props
.
Implementations§
source§impl PropsBuilder
impl PropsBuilder
sourcepub fn wait_for_sync(&mut self, value: bool) -> &mut Self
pub fn wait_for_sync(&mut self, value: bool) -> &mut Self
If true then creating or changing a document will wait until the data has been synchronized to disk.
sourcepub fn journal_size(&mut self, value: usize) -> &mut Self
pub fn journal_size(&mut self, value: usize) -> &mut Self
The maximal size of a journal or datafile in bytes.
The value must be at least 1048576 (1 MB). Note that when
changing the journalSize
value, it will only have an effect for
additional journals or datafiles that are created. Already
existing journals or datafiles will not be affected.
Trait Implementations§
source§impl Clone for PropsBuilder
impl Clone for PropsBuilder
source§fn clone(&self) -> PropsBuilder
fn clone(&self) -> PropsBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more