Struct salak_factory::RedisClusterConfig[][src]

pub struct RedisClusterConfig { /* fields omitted */ }
This is supported on crate feature enable_redis_cluster only.

Redis Connection Pool Configuration.

propertyrequireddefault
redis_cluster.urltrue
redis_cluster.passwordfalse
redis_cluster.readonlyfalse
redis_cluster.read_timeoutfalse
redis_cluster.write_timeoutfalse
redis_cluster.auto_reconnectfalse
redis_cluster.pool.max_sizefalse${pool.max_size:}
redis_cluster.pool.min_idlefalse${pool.min_idle:}
redis_cluster.pool.thread_namefalse${pool.thread_name:}
redis_cluster.pool.thread_numsfalse${pool.thread_nums:}
redis_cluster.pool.test_on_check_outfalse${pool.test_on_check_out:}
redis_cluster.pool.max_lifetimefalse${pool.max_lifetime:}
redis_cluster.pool.idle_timeoutfalse${pool.idle_timeout:}
redis_cluster.pool.connection_timeoutfalse${pool.connection_timeout:5s}
redis_cluster.pool.wait_for_initfalse${pool.wait_for_init:false}

Trait Implementations

impl AutoDeriveFromEnvironment for RedisClusterConfig[src]

impl Buildable for RedisClusterConfig[src]

type Product = Pool<RedisClusterConnectionManager>

Target product.

type Customizer = PoolCustomizer<RedisClusterConnectionManager>

Customize when building.

impl Debug for RedisClusterConfig[src]

impl FromEnvironment for RedisClusterConfig[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,