Module safe_network::prefix_map[][src]

Expand description

Container that acts as a map whose keys are section Prefixes, and values are the Section Authority Provider of the section.

It automatically prunes redundant entries. That is, when the prefix of an entry is fully covered by other prefixes, that entry is removed. For example, when there is entry with prefix (00) and we insert entries with (000) and (001), the (00) prefix becomes fully covered and is automatically removed.