Skip to main content

HelpTopicRegistryHandle

Type Alias HelpTopicRegistryHandle 

Source
pub type HelpTopicRegistryHandle = Arc<ArcSwapAny<Arc<HelpTopicRegistry>>>;
Expand description

The runtime-mutable handle, registered as a boot service under this exact alias (the ServiceRegistry Arc/TypeId convention).

Copy-on-write RCU: reads are wait-free .load() snapshots taken once per :help invocation, writes happen only on plugin load and unload. A plugin registering mid-lookup affects the next lookup, never half of this one.

Aliased Typeยง

pub struct HelpTopicRegistryHandle { /* private fields */ }