skip to Main Content

Redis – how to print the delete key result enum as string

I am delete a key from redis when using rust, this is part of the code looks like: pub async fn del_redis_key(key: &str,) -> Result<()> { let config_redis_string = get_config("redisConnectionStr"); let redis_con_string: &str = config_redis_string.as_str(); let redis_client = redis::Client::open(redis_con_string).expect("can create…

VIEW QUESTION
Back To Top
Search