How can I get all cache entries? #422
-
I would like to get all the keys and their values from the cache is there a command for that? |
Beta Was this translation helpful? Give feedback.
Answered by
DariuszOstolski
May 20, 2024
Replies: 1 comment
-
Hi, Yes, you can iterate over cache, please take a look at the documentation: https://docs.rs/moka/latest/moka/sync/struct.Cache.html#method.iter BR, |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
tatsuya6502
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi,
Yes, you can iterate over cache, please take a look at the documentation:
https://docs.rs/moka/latest/moka/sync/struct.Cache.html#method.iter
BR,
Dariusz