Struct redis::cluster::ClusterClient [−][src]
pub struct ClusterClient { /* fields omitted */ }
cluster
only.Expand description
This is a Redis cluster client.
Implementations
Create a ClusterClient with the default configuration. Despite the name, this does not actually open a connection to Redis Cluster, but only performs some basic checks of the initial nodes’ URLs and passwords.
Errors
Upon failure to parse initial nodes or if the initial nodes have different passwords, an error is returned.
Opens connections to Redis Cluster nodes and returns a ClusterConnection.
Errors
An error is returned if there is a failure to open connections or to create slots.
Trait Implementations
type Connection = ClusterConnection
type Connection = ClusterConnection
The connection type this manager deals with.
type Error = RedisError
type Error = RedisError
The error type returned by Connection
s.
Attempts to create a new connection.
Determines if the connection is still connected to the database. Read more
Quickly determines if the connection is no longer usable. Read more
Auto Trait Implementations
impl RefUnwindSafe for ClusterClient
impl Send for ClusterClient
impl Sync for ClusterClient
impl Unpin for ClusterClient
impl UnwindSafe for ClusterClient
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V