Struct redis_cluster::ClusterCmd [] [src]

pub struct ClusterCmd { /* fields omitted */ }

Redis::Cmd's args field is private, but we need it to determine a slot from the command. So this is a simple wrapper around Redis::Cmd that keeps track of the args.

Methods

impl ClusterCmd
[src]

Add an arg to the command.

Execute the command, returning the result.

Get the slot for this command.