pub enum LockingMode {
Normal,
Exclusive,
}Expand description
The locking mode
set by Sqlite::locking_mode.
Variants§
Normal
Release file locks at the end of each transaction.
Exclusive
Hold file locks until the connection closes.
Trait Implementations§
Source§impl Clone for LockingMode
impl Clone for LockingMode
Source§fn clone(&self) -> LockingMode
fn clone(&self) -> LockingMode
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 LockingMode
Source§impl Debug for LockingMode
impl Debug for LockingMode
impl Eq for LockingMode
Source§impl From<LockingMode> for Cow<'static, str>
impl From<LockingMode> for Cow<'static, str>
Source§fn from(mode: LockingMode) -> Self
fn from(mode: LockingMode) -> Self
Converts to this type from the input type.
Source§impl Hash for LockingMode
impl Hash for LockingMode
Source§impl PartialEq for LockingMode
impl PartialEq for LockingMode
Source§fn eq(&self, other: &LockingMode) -> bool
fn eq(&self, other: &LockingMode) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for LockingMode
Auto Trait Implementations§
impl Freeze for LockingMode
impl RefUnwindSafe for LockingMode
impl Send for LockingMode
impl Sync for LockingMode
impl Unpin for LockingMode
impl UnsafeUnpin for LockingMode
impl UnwindSafe for LockingMode
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.