Struct bonsaidb_local::config::Views
source · pub struct Views {
pub check_integrity_on_open: bool,
}
Expand description
Configuration options for views.
Fields§
§check_integrity_on_open: bool
If true, the database will scan all views during the call to
open_local
. This will cause database opening to take longer, but once
the database is open, no request will need to wait for the integrity to
be checked. However, for faster startup time, you may wish to delay the
integrity scan. Default value is false
.
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Views
impl Send for Views
impl Sync for Views
impl Unpin for Views
impl UnwindSafe for Views
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