Enum persy::TxStrategy [−][src]
pub enum TxStrategy {
LastWin,
VersionOnWrite,
VersionOnRead,
}
Expand description
Concurrent Modification Strategy for resolution of conflict on commit.
Variants
LastWin
Last modification received override all the previous modifications
VersionOnWrite
prepare_commit will fail if the persistent version is more recent of the version when the update_record/delete_record is executed
VersionOnRead
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
Implementations
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for TxStrategy
impl Send for TxStrategy
impl Sync for TxStrategy
impl Unpin for TxStrategy
impl UnwindSafe for TxStrategy
Blanket Implementations
Mutably borrows from an owned value. Read more