[][src]Module elsa::sync

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

FrozenMap

Append-only threadsafe version of std::collections::HashMap where insertion does not require mutable access

FrozenVec

Append-only threadsafe version of std::vec::Vec where insertion does not require mutable access