-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: Support for IntoIterator #841
Comments
Hi @BjarneSeger , thank you for reporting. I agree with you. Introducing |
Thanks for responding so quickly! I'd only iterate over The |
IMHO, I think the ideal solution is to iterator over the underlying db, and use foyer as a read-through cache. I understand that would be hard because the interfaces are hard to combine. Let me see what I can do. Would you like to share about what db and crates you are using for in your project? It will help a lot. |
Sorry, I think I was not clear:
The |
I use foyer in an application I have yet to release as a cache for a few things but I don't always have the exact key to a value, or need all values from the cache. This currently did not seem (easily) doable.
Might it be possible (and make sense) to add Rusts
IntoIterator
trait toHybridCache
?The text was updated successfully, but these errors were encountered: