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§

source

fn multi(&self) -> Transaction

Enter a MULTI block, executing subsequent commands as a transaction.

https://redis.io/commands/multi

Object Safety§

This trait is not object safe.

Implementors§