pub struct OpenOptions {
pub recovery: RecoveryMode,
pub mode: OpenMode,
}Expand description
Options for crate::db::Database::open_with_options and in-memory open helpers.
Fields§
§recovery: RecoveryMode§mode: OpenModeImplementations§
Source§impl OpenOptions
impl OpenOptions
Sourcepub fn builder() -> OpenOptionsBuilder
pub fn builder() -> OpenOptionsBuilder
Start building open options (defaults match OpenOptions::default).
Trait Implementations§
Source§impl Clone for OpenOptions
impl Clone for OpenOptions
Source§fn clone(&self) -> OpenOptions
fn clone(&self) -> OpenOptions
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 moreimpl Copy for OpenOptions
Source§impl Debug for OpenOptions
impl Debug for OpenOptions
Source§impl Default for OpenOptions
impl Default for OpenOptions
impl Eq for OpenOptions
Source§impl PartialEq for OpenOptions
impl PartialEq for OpenOptions
Source§fn eq(&self, other: &OpenOptions) -> bool
fn eq(&self, other: &OpenOptions) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for OpenOptions
Auto Trait Implementations§
impl Freeze for OpenOptions
impl RefUnwindSafe for OpenOptions
impl Send for OpenOptions
impl Sync for OpenOptions
impl Unpin for OpenOptions
impl UnsafeUnpin for OpenOptions
impl UnwindSafe for OpenOptions
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