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

impl Eq for IsolationLevel
[src]

impl PartialEq for IsolationLevel
[src]

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

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

This method tests for !=.

impl Copy for IsolationLevel
[src]

impl Clone for IsolationLevel
[src]

fn clone(&self) -> IsolationLevel

Returns a copy of the value. Read more

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

Performs copy-assignment from source. Read more

impl Debug for IsolationLevel
[src]

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

Formats the value using the given formatter.