Trait rustis::commands::TransactionCommands
source · pub trait TransactionCommands<'a> {
// Provided methods
fn watch<K, KK>(self, keys: KK) -> PreparedCommand<'a, Self, ()>
where Self: Sized,
K: SingleArg,
KK: SingleArgCollection<K> { ... }
fn unwatch(self) -> PreparedCommand<'a, Self, ()>
where Self: Sized { ... }
}
Expand description
Provided Methods§
sourcefn watch<K, KK>(self, keys: KK) -> PreparedCommand<'a, Self, ()>
fn watch<K, KK>(self, keys: KK) -> PreparedCommand<'a, Self, ()>
Marks the given keys to be watched for conditional execution of a transaction.