Enum postgres::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

impl PartialEq for IsolationLevel

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

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

impl Copy for IsolationLevel

impl Clone for IsolationLevel

fn clone(&self) -> IsolationLevel

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

impl Debug for IsolationLevel

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