Enum postgres::transaction::IsolationLevel
[−]
[src]
pub enum IsolationLevel { ReadUncommitted, ReadCommitted, RepeatableRead, Serializable, }
An enumeration of transaction isolation levels.
See the Postgres documentation for full details on the semantics of each level.
Variants
ReadUncommitted
The "read uncommitted" level.
In current versions of Postgres, this behaves identically to
ReadCommitted
.
ReadCommitted
The "read committed" level.
This is the default isolation level in Postgres.
RepeatableRead
The "repeatable read" level.
Serializable
The "serializable" level.
Trait Implementations
impl Debug for IsolationLevel
[src]
impl Clone for IsolationLevel
[src]
fn clone(&self) -> IsolationLevel
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Copy for IsolationLevel
[src]
impl PartialEq for IsolationLevel
[src]
fn eq(&self, __arg_0: &IsolationLevel) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
This method tests for !=
.