Enum persy::TxStrategy [] [src]

pub enum TxStrategy {
    LastWin,
    VersionOnWrite,
    VersionOnRead,
}

Concurrent Modification Strategy for resolution of conflict on commit.

Variants

Last modification received override all the previous modifications

prepare_commit will fail if the persistent version is more recent of the version when the update_record/delete_record is executed

prepare_commit will fail if the persistent version is more recent of the version of the last read_record_tx, if no read_record_tx was called will fallow the same behaviour of VersionOnWrite

Methods

impl TxStrategy
[src]

[src]

[src]

Trait Implementations

impl PartialEq for TxStrategy
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

1.0.0
[src]

This method tests for !=.

impl Clone for TxStrategy
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more