Module sentinel

Source
Expand description

This module extends the library to support Redis Cluster.

Structs§

Config
Configuration object.
Connection
Wrapper around redis::aio::MultiplexedConnection.
Manager
Manager for creating and recycling redis::aio::MultiplexedConnection connections.
Metrics
Statistics regarding an object returned by the pool
PoolConfig
Pool configuration.
Status
The current pool status.
Timeouts
Timeouts when getting Objects from a Pool.

Enums§

ConfigError
This error is returned if the configuration contains an error
Runtime
Enumeration for picking a runtime implementation.
SentinelServerType
This type is a wrapper for redis::sentinel::SentinelServerType for serialize/deserialize.

Type Aliases§

BuildError
Type alias for using deadpool::managed::BuildError with [redis_sentinel].
CreatePoolError
Type alias for using deadpool::managed::CreatePoolError with [redis_sentinel].
Hook
Type alias for using deadpool::managed::Hook with [redis_sentinel].
HookError
Type alias for using deadpool::managed::HookError with [redis_sentinel].
Object
Type alias for using deadpool::managed::Object with [redis_sentinel].
Pool
Type alias for using deadpool::managed::Pool with [redis_sentinel].
PoolBuilder
Type alias for using deadpool::managed::PoolBuilder with [redis_sentinel].
PoolError
Type alias for using deadpool::managed::PoolError with [redis_sentinel].