pub type MonotonicMap<'a, T> = Map<u64, T>;
Expand description

A Map where the key monotonically increases.

This represents a common pattern where we want to store data with unique keys The u64 key is guaranteed to monotonically increase over time per pushed value.

Aliased Type§

struct MonotonicMap<'a, T> { /* private fields */ }