Enum lsmlite_rs::LsmHandleMode
source · 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 copy 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
source§fn eq(&self, other: &LsmHandleMode) -> bool
fn eq(&self, other: &LsmHandleMode) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for LsmHandleMode
impl Eq for LsmHandleMode
impl StructuralEq for LsmHandleMode
impl StructuralPartialEq for LsmHandleMode
Auto Trait Implementations§
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