pub enum SQLiteTransactionType {
Deferred,
Immediate,
Exclusive,
}Expand description
SQLite transaction types
Variants§
Deferred
A deferred transaction is the default - it does not acquire locks until needed
Immediate
An immediate transaction acquires a RESERVED lock immediately
Exclusive
An exclusive transaction acquires an EXCLUSIVE lock immediately
Trait Implementations§
Source§impl Clone for SQLiteTransactionType
impl Clone for SQLiteTransactionType
Source§fn clone(&self) -> SQLiteTransactionType
fn clone(&self) -> SQLiteTransactionType
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 SQLiteTransactionType
impl Debug for SQLiteTransactionType
Source§impl Default for SQLiteTransactionType
impl Default for SQLiteTransactionType
Source§fn default() -> SQLiteTransactionType
fn default() -> SQLiteTransactionType
Returns the “default value” for a type. Read more
impl Copy for SQLiteTransactionType
Auto Trait Implementations§
impl Freeze for SQLiteTransactionType
impl RefUnwindSafe for SQLiteTransactionType
impl Send for SQLiteTransactionType
impl Sync for SQLiteTransactionType
impl Unpin for SQLiteTransactionType
impl UnwindSafe for SQLiteTransactionType
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