Struct redis_client::redis::RedisClient [] [src]

pub struct RedisClient { /* fields omitted */ }

Methods

impl RedisClient
[src]

A RedisClient is a structure to send command to redis and receive the response. All RedisClient's methods are performed synchronously.

When creating a RedisClient it will automatically create a connection. Therefore when it is created it uses the host and the port.

Example:

let mut client = try!(redis_client::RedisClient::new("127.0.0.1", "6379"));

Execute a RedisCommand

Execute a pipeline of RedisCommand

Trait Implementations

impl CommandSender for RedisClient
[src]

impl Debug for RedisClient
[src]

Formats the value using the given formatter.

impl Display for RedisClient
[src]

Formats the value using the given formatter. Read more