Skip to main content

PROTOCOLS

Static PROTOCOLS 

Source
pub(crate) static PROTOCOLS: InternCache<ProtocolsInner>
Expand description

An InternCache of ProtocolsInner.

We intern ProtocolsInner objects because:

  • There are very few distinct values in any given set of relays.
  • Every relay has one.
  • We often want to copy them when we’re remembering information about circuits.