Struct redis_driver::ClusterConfig
source · Expand description
Configuration for connecting to a Redis Cluster
Fields
nodes: Vec<(String, u16)>
An array of (host, port)
tuples for each known cluster node.
Trait Implementations
sourceimpl Clone for ClusterConfig
impl Clone for ClusterConfig
sourcefn clone(&self) -> ClusterConfig
fn clone(&self) -> ClusterConfig
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Default for ClusterConfig
impl Default for ClusterConfig
sourcefn default() -> ClusterConfig
fn default() -> ClusterConfig
Returns the “default value” for a type. Read more
Auto Trait Implementations
impl RefUnwindSafe for ClusterConfig
impl Send for ClusterConfig
impl Sync for ClusterConfig
impl Unpin for ClusterConfig
impl UnwindSafe for ClusterConfig
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more