Expand description
Per-process artifact cache keyed by ArtifactId.
Stores generated fixtures behind Arc<dyn Any> so expensive key generation
(especially RSA) only happens once per unique identity tuple. Thread-safe:
uses DashMap with std, spin::Mutex without.
The primary type is ArtifactCache.
Structs§
- Artifact
Cache - Cache keyed by
ArtifactIdthat stores typed values behindArc<dyn Any>.
Functions§
- downcast_
or_ panic - Downcast a cached
Anyvalue to the expected fixture type.