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 duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const 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
impl Copy for TrIsolationLevel
impl Eq for TrIsolationLevel
impl StructuralPartialEq for TrIsolationLevel
Auto Trait Implementations§
impl Freeze for TrIsolationLevel
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