Struct redis_cluster_rs::Client[][src]

pub struct Client { /* fields omitted */ }

This is a Redis cluster client.

Methods

impl Client
[src]

Connect to a redis cluster server and return a cluster client. This does not actually open a connection yet but it performs some basic checks on the URL.

Errors

If it is failed to parse initial_nodes, an error is returned.

Open and get a Redis cluster connection.

Errors

If it is failed to open connections and to create slots, an error is returned.

Trait Implementations

impl Clone for Client
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Auto Trait Implementations

impl Send for Client

impl Sync for Client