Enum rsfbclient_core::TrRecordVersion
source · #[repr(u8)]pub enum TrRecordVersion {
RecordVersion = 17,
NoRecordVersion = 18,
}
Expand description
Record version isolation
Variants§
RecordVersion = 17
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 = 18
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 for TrRecordVersion
impl PartialEq 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 ==
.impl Copy for TrRecordVersion
impl Eq for TrRecordVersion
impl StructuralEq for TrRecordVersion
impl StructuralPartialEq for TrRecordVersion
Auto Trait Implementations§
impl RefUnwindSafe for TrRecordVersion
impl Send for TrRecordVersion
impl Sync for TrRecordVersion
impl Unpin for TrRecordVersion
impl UnwindSafe for TrRecordVersion
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