Enum tokio_postgres::IsolationLevel [−][src]
#[non_exhaustive] pub enum IsolationLevel { ReadUncommitted, ReadCommitted, RepeatableRead, Serializable, }
The isolation level of a database transaction.
Variants (Non-exhaustive)
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Equivalent to ReadCommitted
.
An individual statement in the transaction will see rows committed before it began.
All statements in the transaction will see the same view of rows committed before the first query in the transaction.
The reads and writes in this transaction must be able to be committed as an atomic “unit” with respect to reads and writes of all other concurrent serializable transactions without interleaving.
Trait Implementations
impl Clone for IsolationLevel
[src]
impl Clone for IsolationLevel
[src]fn clone(&self) -> IsolationLevel
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for IsolationLevel
[src]
impl Copy for IsolationLevel
[src]Auto Trait Implementations
impl RefUnwindSafe for IsolationLevel
impl RefUnwindSafe for IsolationLevel
impl Send for IsolationLevel
impl Send for IsolationLevel
impl Sync for IsolationLevel
impl Sync for IsolationLevel
impl Unpin for IsolationLevel
impl Unpin for IsolationLevel
impl UnwindSafe for IsolationLevel
impl UnwindSafe for IsolationLevel