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
sourceimpl Clone for TrRecordVersion
impl Clone for TrRecordVersion
sourcefn clone(&self) -> TrRecordVersion
fn clone(&self) -> TrRecordVersion
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for TrRecordVersion
impl Debug for TrRecordVersion
sourceimpl Default for TrRecordVersion
impl Default for TrRecordVersion
sourceimpl PartialEq<TrRecordVersion> for TrRecordVersion
impl PartialEq<TrRecordVersion> for TrRecordVersion
sourcefn eq(&self, other: &TrRecordVersion) -> bool
fn eq(&self, other: &TrRecordVersion) -> bool
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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more