Struct postgres::transaction::Config [] [src]

pub struct Config { /* fields omitted */ }

Configuration of a transaction.

Methods

impl Config
[src]

[src]

Creates a new Config with no configuration overrides.

[src]

Sets the isolation level of the configuration.

[src]

Sets the read-only property of a transaction.

If enabled, a transaction will be unable to modify any persistent database state.

[src]

Sets the deferrable property of a transaction.

If enabled in a read only, serializable transaction, the transaction may block when created, after which it will run without the normal overhead of a serializable transaction and will not be forced to roll back due to serialization failures.

Trait Implementations

impl Debug for Config
[src]

[src]

Formats the value using the given formatter.

impl Default for Config
[src]

[src]

Returns the "default value" for a type. Read more