Enum rsfbclient_core::TrRecordVersion
source · #[repr(u8)]
pub enum TrRecordVersion {
RecordVersion,
NoRecordVersion,
}
Expand description
Record version isolation
Variants§
RecordVersion
Is a kind of two-phase locking mechanism: it will make the transaction unable to write to any row that has an update pending from another transaction
NoRecordVersion
The transaction reads the latest committed version of the row, regardless of other pending versions of the row.
Trait Implementations§
source§impl Clone for TrRecordVersion
impl Clone for TrRecordVersion
source§fn clone(&self) -> TrRecordVersion
fn clone(&self) -> TrRecordVersion
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 TrRecordVersion
impl Debug for TrRecordVersion
source§impl Default for TrRecordVersion
impl Default for TrRecordVersion
source§impl PartialEq<TrRecordVersion> for TrRecordVersion
impl PartialEq<TrRecordVersion> for TrRecordVersion
source§fn eq(&self, other: &TrRecordVersion) -> bool
fn eq(&self, other: &TrRecordVersion) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.