Module circmap

Source
Expand description

Types and code to map circuit IDs to circuits.

Structs§

CircMap 🔒
A map from circuit IDs to circuit entries. Each channel has one.
MutCircEnt 🔒
An “smart pointer” that wraps an exclusive reference of a CircEnt.

Enums§

CircEnt 🔒
An entry in the circuit map. Right now, we only have “here’s the way to send cells to a given circuit”, but that’s likely to change.
CircIdRange 🔒
Which group of circuit IDs are we allowed to allocate in this map?