Skip to main content

Module keyed_singleton

Module keyed_singleton 

Source
Expand description

Definitions for the KeyedSingleton live collection.

Structs§

BoundedValue
A variation of boundedness specific to KeyedSingleton, which indicates that once a key appears, its value is bounded and will never change, but new entries may appear asynchronously
KeyedSingleton
Mapping from keys of type K to values of type V.
MonotonicValue
A variation of boundedness specific to KeyedSingleton, which indicates that once a key appears, it will never be removed, and the corresponding value will only increase monotonically.

Traits§

IsKeyedMonotonic
Marker trait that is implemented for KeyedSingletonBound types whose per-key values are monotonically non-decreasing (or bounded).
KeyedSingletonBound
A marker trait indicating which components of a KeyedSingleton may change.