pub enum LsmHandleMode {
ReadOnly = 0,
ReadWrite = 1,
}
Expand description
Whether a database handle operates in read-only mode or not. By default, reads and writes are allowed in a database.
Variants§
ReadOnly = 0
Attempts to write to the database will be rejected in this mode.
ReadWrite = 1
This is the default mode in which reads and writes to the database are allowed.
Trait Implementations§
Source§impl Clone for LsmHandleMode
impl Clone for LsmHandleMode
Source§fn clone(&self) -> LsmHandleMode
fn clone(&self) -> LsmHandleMode
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 LsmHandleMode
impl Debug for LsmHandleMode
Source§impl Default for LsmHandleMode
impl Default for LsmHandleMode
Source§fn default() -> LsmHandleMode
fn default() -> LsmHandleMode
Returns the “default value” for a type. Read more
Source§impl PartialEq for LsmHandleMode
impl PartialEq for LsmHandleMode
impl Copy for LsmHandleMode
impl Eq for LsmHandleMode
impl StructuralPartialEq for LsmHandleMode
Auto Trait Implementations§
impl Freeze for LsmHandleMode
impl RefUnwindSafe for LsmHandleMode
impl Send for LsmHandleMode
impl Sync for LsmHandleMode
impl Unpin for LsmHandleMode
impl UnwindSafe for LsmHandleMode
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