pub fn wait_for_replica( get_client_fn: impl FnMut() -> RedisResult<Client>, ) -> Result<(), SentinelError>