#[repr(u8)]pub enum TransactionIsolationLevel {
Default = 0,
ReadCommited = 1,
ReadConfirmed = 2,
BestEffort = 3,
}
Expand description
Transaction isolation level.
See docs here.
Variants§
Default = 0
Use the default level from box.cfg (default),
ReadCommited = 1
Read changes that are committed but not confirmed yet.
ReadConfirmed = 2
Read confirmed changes.
BestEffort = 3
Determine isolation level automatically.
Trait Implementations§
Source§impl Clone for TransactionIsolationLevel
impl Clone for TransactionIsolationLevel
Source§fn clone(&self) -> TransactionIsolationLevel
fn clone(&self) -> TransactionIsolationLevel
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 TransactionIsolationLevel
impl Debug for TransactionIsolationLevel
Source§impl Default for TransactionIsolationLevel
impl Default for TransactionIsolationLevel
impl Copy for TransactionIsolationLevel
Auto Trait Implementations§
impl Freeze for TransactionIsolationLevel
impl RefUnwindSafe for TransactionIsolationLevel
impl Send for TransactionIsolationLevel
impl Sync for TransactionIsolationLevel
impl Unpin for TransactionIsolationLevel
impl UnwindSafe for TransactionIsolationLevel
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