pub enum TrIsolationLevel {
Concurrency,
Consistency,
ReadCommited(TrRecordVersion),
}
Expand description
Transaction isolation level
Variants§
Concurrency
Transactions can’t see alterations commited after they started
Consistency
Table locking
ReadCommited(TrRecordVersion)
Transactions can see alterations commited after they started
Trait Implementations§
source§impl Clone for TrIsolationLevel
impl Clone for TrIsolationLevel
source§fn clone(&self) -> TrIsolationLevel
fn clone(&self) -> TrIsolationLevel
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 TrIsolationLevel
impl Debug for TrIsolationLevel
source§impl Default for TrIsolationLevel
impl Default for TrIsolationLevel
source§impl From<TrIsolationLevel> for u8
impl From<TrIsolationLevel> for u8
source§fn from(tp: TrIsolationLevel) -> Self
fn from(tp: TrIsolationLevel) -> Self
Converts to this type from the input type.
source§impl PartialEq for TrIsolationLevel
impl PartialEq for TrIsolationLevel
source§fn eq(&self, other: &TrIsolationLevel) -> bool
fn eq(&self, other: &TrIsolationLevel) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for TrIsolationLevel
impl Eq for TrIsolationLevel
impl StructuralEq for TrIsolationLevel
impl StructuralPartialEq for TrIsolationLevel
Auto Trait Implementations§
impl RefUnwindSafe for TrIsolationLevel
impl Send for TrIsolationLevel
impl Sync for TrIsolationLevel
impl Unpin for TrIsolationLevel
impl UnwindSafe for TrIsolationLevel
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