Closed gitmalong closed 1 year ago
Yes, the macro creates a cache instance with the name of the function in all caps (see https://github.com/jaemk/cached/blob/e6814aa94df3b1908b7c35521977f7359867a99a/examples/basic_proc_macro.rs#L37). After you lock the instance, you can use these iterator methods on SizedCached
https://github.com/jaemk/cached/blob/e6814aa94df3b1908b7c35521977f7359867a99a/src/stores/sized.rs#L135
It is possible to get all key, value pairs from the cache?