Expand description
This module is experimental
This module provides threadsafe versions of FrozenMap and FrozenVec, ideal for use as a cache.
These lock internally, however locks only last as long as the method calls
Structs§
- Append-only threadsafe version of
std::collections::BTreeMapwhere insertion does not require mutable access - Append-only threadsafe version of
std::collections::HashMapwhere insertion does not require mutable access - Append-only threadsafe version of
std::vec::Vecwhere insertion does not require mutable access - Iterator over FrozenVec, obtained via
.iter() - Append-only threadsafe version of
std::vec::Vecwhere insertion does not require mutable access. Does not lock for reading, only allowsCopytypes and will spinlock on pushes without affecting reads. Note that this data structure is64pointers large on 64 bit systems, in contrast toVecwhich is3pointers large.