Function hiredis::connect [−] [src]

pub fn connect(host: &str, port: usize) -> Result<Context>

Connect to a Redis server.