Skip to main content

Module registry

Module registry 

Source
Expand description

Many session types use a registry of objects that can be looked up by name to construct contexts. This module provides a generic registry type for that purpose.

Structs§

Context
A Context holds a set of interned IDs for use during serialization/deserialization, mapping IDs to u16 indices.
Registry
A registry of items that are keyed by a string identifier.

Type Aliases§

Id
An identifier for an item in a registry.