-
Notifications
You must be signed in to change notification settings - Fork 108
Open
Description
I need to serialize the cache:
- There is currently no way to iterate with Cached trait
- Without GATs I don't think we could have an associate Iter type on Cached, maybe it's possible I don't known
- We could implement Serialize/Deserialize from serde for CachedSized & Co, this require some work and have some cons but this could allow to keep time(not very useful for timed cache) and order information.
- We could add a method in Cached to return an HashMap of Cache consuming self, not all implementation could do it without allocate a new hashmap and we lost information about time or order.
Metadata
Metadata
Assignees
Labels
No labels