pub fn command(cmd: &str) -> RedisCommandExpand description
Make a Redis command represents array of BulkStrings
wrapped into RedisCommand.
ยงExample
use redis_asio::command;
let cmd = redis_asio::command("SET").arg("foo").arg("bar");pub fn command(cmd: &str) -> RedisCommandMake a Redis command represents array of BulkStrings
wrapped into RedisCommand.
use redis_asio::command;
let cmd = redis_asio::command("SET").arg("foo").arg("bar");