Executes a transaction and returns the results of all queued commands.
Executes a transaction and returns the results of all queued commands.
the transaction block
vector containing the results of all queued commands
1.2.0
Forgets about all watched keys.
Forgets about all watched keys.
2.2.0
Watches the given keys, which upon modification, will abort a transaction.
Watches the given keys, which upon modification, will abort a transaction.
keys to watch
2.2.0
Executes a transaction and returns whatever the transaction block returns.
Executes a transaction and returns whatever the transaction block returns.
the transaction block
whatever 'build' returns
1.2.0
This trait implements transaction commands.