pub enum IsolationLevel {
Snapshot,
SnapshotTableStability,
ReadCommittedRecordVersion,
ReadCommittedNoRecordVersion,
ReadCommittedReadConsistency,
}Expand description
Nível de isolamento da transação.
Variants§
Snapshot
SNAPSHOT (Firebird concurrency) — o padrão do engine.
SnapshotTableStability
SNAPSHOT TABLE STABILITY (Firebird consistency).
ReadCommittedRecordVersion
READ COMMITTED retornando a última versão de registro commitada.
ReadCommittedNoRecordVersion
READ COMMITTED sem versões de registro (conflitos esperam/falham).
ReadCommittedReadConsistency
READ COMMITTED READ CONSISTENCY (FB4+): snapshot estável por instrução.
Trait Implementations§
Source§impl Clone for IsolationLevel
impl Clone for IsolationLevel
Source§fn clone(&self) -> IsolationLevel
fn clone(&self) -> IsolationLevel
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for IsolationLevel
Source§impl Debug for IsolationLevel
impl Debug for IsolationLevel
Source§impl Default for IsolationLevel
impl Default for IsolationLevel
Source§fn default() -> IsolationLevel
fn default() -> IsolationLevel
Returns the “default value” for a type. Read more
impl Eq for IsolationLevel
Source§impl PartialEq for IsolationLevel
impl PartialEq for IsolationLevel
Source§fn eq(&self, other: &IsolationLevel) -> bool
fn eq(&self, other: &IsolationLevel) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for IsolationLevel
Auto Trait Implementations§
impl Freeze for IsolationLevel
impl RefUnwindSafe for IsolationLevel
impl Send for IsolationLevel
impl Sync for IsolationLevel
impl Unpin for IsolationLevel
impl UnsafeUnpin for IsolationLevel
impl UnwindSafe for IsolationLevel
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