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<TrIsolationLevel> for TrIsolationLevel
impl PartialEq<TrIsolationLevel> 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 ==
.