Struct parity_db::Options [−][src]
pub struct Options {
pub path: PathBuf,
pub columns: Vec<ColumnOptions>,
pub sync: bool,
pub stats: bool,
}Expand description
Database configuration.
Fields
path: PathBufDatabase path.
columns: Vec<ColumnOptions>Column settings
sync: boolfsync WAL to disk before commiting any changes. Provides extra consistency guarantees. Off by default.
stats: boolCollect database statistics. May have effect on performance.
Implementations
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Optionsimpl UnwindSafe for OptionsBlanket Implementations
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V