Module reool::config [−][src]
Expand description
Configuration for RedisPool
including a builder.
Connecting to a single node or multiple replicas
Connecting to a single node
Set the value connect_to_nodes
to one node only
Connecting to multiple nodes
Set the value connect_to_nodes
to more than one node.
Make sure not to write to that pool.
Re-exports
pub use crate::error::Error;
Structs
A builder for a RedisPool
A configuration for creating a RedisPool
.
Enums
Defines the strategy by which idle connections are taken from the pool.
A strategy for determining delays between retries
A timeout for commands which is applied to all commands on all connections.
Various options on retrieving a connection that can be applied if a user wants to use the pool defaults for retrieving a connection.