Crate cached_proc_macro
source ·Attribute Macros
- Define a memoized function using a cache store that implements
cached::Cached(andcached::CachedAsyncfor async functions) - Define a memoized function using a cache store that implements
cached::IOCached(andcached::IOCachedAsyncfor async functions) - Define a memoized function using a cache store that implements
cached::Cached(andcached::CachedAsyncfor async functions). Function arguments are not used to identify a cached value, only one value is cached unless atimeexpiry is specified.