pub struct DbAttachOptions {
pub clean: bool,
pub readonly: bool,
}Expand description
Options for ObjectDB::attach, mirroring Perl ObjectDB::new’s
dbfile/clean/readonly knobs.
Fields§
§clean: boolDelete any existing file first (Perl clean => 1).
readonly: boolOpen for reading only; finish will not write (Perl readonly).
Trait Implementations§
Source§impl Default for DbAttachOptions
impl Default for DbAttachOptions
Source§fn default() -> DbAttachOptions
fn default() -> DbAttachOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for DbAttachOptions
impl RefUnwindSafe for DbAttachOptions
impl Send for DbAttachOptions
impl Sync for DbAttachOptions
impl Unpin for DbAttachOptions
impl UnsafeUnpin for DbAttachOptions
impl UnwindSafe for DbAttachOptions
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