pub struct StoreOptions {
pub readonly: bool,
}Expand description
Database open options.
Fields§
§readonly: boolOpen the database read-only. Schema bootstrap is skipped; opening an uninitialized database read-only is an error.
Trait Implementations§
Source§impl Clone for StoreOptions
impl Clone for StoreOptions
Source§fn clone(&self) -> StoreOptions
fn clone(&self) -> StoreOptions
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for StoreOptions
impl Debug for StoreOptions
Source§impl Default for StoreOptions
impl Default for StoreOptions
Source§fn default() -> StoreOptions
fn default() -> StoreOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for StoreOptions
impl RefUnwindSafe for StoreOptions
impl Send for StoreOptions
impl Sync for StoreOptions
impl Unpin for StoreOptions
impl UnsafeUnpin for StoreOptions
impl UnwindSafe for StoreOptions
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