pub fn resolve_name<'a, I>(
source: &str,
node_name: &str,
namespace: &str,
remaps: I,
) -> Result<ResolvedName, ()>Expand description
Resolve a source-level entity name through launch remap rules: expand the
source name AND each rule’s from to fully-qualified form, compare exact,
substitute the (also expanded) to of the first matching rule; no match →
the expanded source name. A rule whose from/to fails to expand is
skipped (never masks the name expansion itself).
This is the single-tier spelling: everything passed here is
AUTHORITATIVE, and precedence among the rules is iterator order. When a
caller has rules from more than one channel, it must say which channel
outranks which — resolve_name_layered is that call, and it is the only
place a precedence between channels may be expressed.