pub fn new_cluster<S: Into<String>>(addr: S, key: &[u8]) -> RedisSession {
        RedisSession(Rc::new(Inner {
            key: Key::from_master(key),
            ttl: "7200".to_owned(),
            addr: Redis::RedisCluster(RedisClusterActor::start(addr)),
            name: "actix-session".to_owned(),
            path: "/".to_owned(),
            domain: None,
            secure: false,
            max_age: Some(Duration::days(7)),
            same_site: None,
        }))
    }
/// Create new redis session backend with redis cluster
///
/// * `addrs` - addresses of the redis masters
Create new redis session backend with redis cluster
`addrs` - addresses of the redis masters
Create new redis session backend with redis cluster ` addrs ` - addresses of the redis masters
pub fn new_cluster<S: Into<String>>(addr: S, key: &[u8]) -> RedisSession {
        RedisSession(Rc::new(Inner {
            key: Key::from_master(key),
            ttl: "7200".to_owned(),
            addr: Redis::RedisCluster(RedisClusterActor::start(addr)),
            name: "actix-session".to_owned(),
            path: "/".to_owned(),
            domain: None,
            secure: false,
            max_age: Some(Duration::days(7)),
            same_site: None,
        }))
    }
pub fn new_cluster < S : Into < String > > ( addr : S , key : & [ u8 ] ) -> RedisSession { RedisSession ( Rc :: new ( Inner { key : Key :: from_master ( key ) , ttl : " " . to_owned ( ) , addr : Redis :: RedisCluster ( RedisClusterActor :: start ( addr ) ) , name : " " . to_owned ( ) , path : " " . to_owned ( ) , domain : None , secure : false , max_age : Some ( Duration :: days ( 7 ) ) , same_site : None , } ) ) }
Create new redis session backend with redis cluster
 `addrs` - addresses of the redis masters
Create new redis session backend with redis cluster ` addrs ` - addresses of the redis masters
addr
S
key
&[u8]
addr
S
key
&[u8]