Struct salak_factory::RedisConfig[][src]

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

Redis Connection Pool Configuration.

propertyrequireddefault
redis.urlfalse
redis.hostfalselocalhost
redis.portfalse6379
redis.sslfalsefalse
redis.ssl_insecurefalsefalse
redis.dbfalse
redis.userfalse
redis.passwordfalse
redis.connect_timeoutfalse
redis.read_timeoutfalse
redis.write_timeoutfalse
redis.pool.max_sizefalse${pool.max_size:}
redis.pool.min_idlefalse${pool.min_idle:}
redis.pool.thread_namefalse${pool.thread_name:}
redis.pool.thread_numsfalse${pool.thread_nums:}
redis.pool.test_on_check_outfalse${pool.test_on_check_out:}
redis.pool.max_lifetimefalse${pool.max_lifetime:}
redis.pool.idle_timeoutfalse${pool.idle_timeout:}
redis.pool.connection_timeoutfalse${pool.connection_timeout:5s}
redis.pool.wait_for_initfalse${pool.wait_for_init:false}

Trait Implementations

impl AutoDeriveFromEnvironment for RedisConfig[src]

impl Buildable for RedisConfig[src]

type Product = Pool<RedisConnectionManager>

Target product.

type Customizer = PoolCustomizer<RedisConnectionManager>

Customize when building.

impl Debug for RedisConfig[src]

impl FromEnvironment for RedisConfig[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>,