Module reool::config [−][src]
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
Builder | A builder for a |
Config | A configuration for creating a |
ParseDefaultCommandTimeoutError | |
ParseDefaultPoolCheckoutModeError |
Enums
ActivationOrder | Defines the strategy by which idle connections are taken from the pool. |
BackoffStrategy | A strategy for determining delays between retries |
DefaultCommandTimeout | A timeout for commands which is applied to all commands on all connections. |
DefaultPoolCheckoutMode | Various options on retrieving a connection that can be applied if a user wants to use the pool defaults for retrieving a connection. |