Trait fred::interfaces::TransactionInterface
source · pub trait TransactionInterface: ClientLike + Sized {
// Provided method
fn multi(&self) -> Transaction { ... }
}Available on crate feature
transactions only.Expand description
Functions that implement the transactions interface.
See the Transaction client for more information;
Provided Methods§
sourcefn multi(&self) -> Transaction
fn multi(&self) -> Transaction
Enter a MULTI block, executing subsequent commands as a transaction.
Object Safety§
This trait is not object safe.