[][src]Module reool::config

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. See NodePoolStrategy to read on how to configure a pool with multiple nodes.

Structs

Builder

A builder for a MultiNodePool

Config

A configuration for creating a MultiNodePool.

InitializationError

An initialization has failed

ParseNodesStrategyError

Enums

ActivationOrder

Defines the strategy by which idle connections are taken from the pool.

BackoffStrategy

A strategy for determining delays betwen retries

NodePoolStrategy

Determines which kind of pool to create.