Skip to main content

PlannerCacheKey

Type Alias PlannerCacheKey 

Source
type PlannerCacheKey = (NodeId, NodeId, u32);
Expand description

Cache key for the path planner: (source, destination, hops).

Only the Hops variant of [RoutingOptions] is cached (explicit intermediate paths bypass the cache), so the key stores the hop count as a plain u32.