Module local

Module local 

Source
Expand description

A cache for types which are not thread-safe (?Send).

Structsยง

LocalCache
Holds arbitrary query results which are namespaced by arbitrary scope types. Usually used through SharedLocalCache::cache_with and SharedLocalCache::gc.
SharedLocalCache
Provides shared, synchronized access to a LocalCache and a function-memoization API in SharedLocalCache::cache_with.