pub struct DatabaseOptions {
pub db_path: String,
pub mode: Mode,
pub max_thread_num: usize,
pub checkpoint_on_close: bool,
}Fields§
§db_path: String§mode: Mode§max_thread_num: usize§checkpoint_on_close: boolTrait Implementations§
Auto Trait Implementations§
impl Freeze for DatabaseOptions
impl RefUnwindSafe for DatabaseOptions
impl Send for DatabaseOptions
impl Sync for DatabaseOptions
impl Unpin for DatabaseOptions
impl UnsafeUnpin for DatabaseOptions
impl UnwindSafe for DatabaseOptions
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