pub enum DatabaseOpenMode {
ReadWrite,
ReadOnly,
}Expand description
Database file open mode derived from the header’s read/write version bytes.
Variants§
ReadWrite
The database can be opened read-write.
ReadOnly
The database can only be opened read-only (write version too new).
Trait Implementations§
Source§impl Clone for DatabaseOpenMode
impl Clone for DatabaseOpenMode
Source§fn clone(&self) -> DatabaseOpenMode
fn clone(&self) -> DatabaseOpenMode
Returns a duplicate of the value. Read more
1.0.0 · 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 DatabaseOpenMode
impl Debug for DatabaseOpenMode
Source§impl Hash for DatabaseOpenMode
impl Hash for DatabaseOpenMode
Source§impl PartialEq for DatabaseOpenMode
impl PartialEq for DatabaseOpenMode
impl Copy for DatabaseOpenMode
impl Eq for DatabaseOpenMode
impl StructuralPartialEq for DatabaseOpenMode
Auto Trait Implementations§
impl Freeze for DatabaseOpenMode
impl RefUnwindSafe for DatabaseOpenMode
impl Send for DatabaseOpenMode
impl Sync for DatabaseOpenMode
impl Unpin for DatabaseOpenMode
impl UnsafeUnpin for DatabaseOpenMode
impl UnwindSafe for DatabaseOpenMode
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