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

Derived Implementations

impl Eq for IsolationLevel
[src]

impl PartialEq for IsolationLevel
[src]

fn eq(&self, __arg_0: &IsolationLevel) -> bool

fn ne(&self, other: &Rhs) -> bool
1.0.0

impl Copy for IsolationLevel
[src]

impl Clone for IsolationLevel
[src]

fn clone(&self) -> IsolationLevel

fn clone_from(&mut self, source: &Self)
1.0.0

impl Debug for IsolationLevel
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result