#[repr(u8)]pub enum TransactionIsolationLevel {
Default,
ReadCommited,
ReadConfirmed,
BestEffort,
}
Expand description
Transaction isolation level.
See docs here.
Variants§
Default
Use the default level from box.cfg (default),
ReadCommited
Read changes that are committed but not confirmed yet.
ReadConfirmed
Read confirmed changes.
BestEffort
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 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