Skip to main content

to_rule_id

Function to_rule_id 

Source
pub async fn to_rule_id(t: &Transport, selector: &str) -> Result<String>
Expand description

Resolve a rule_id or display name against the stack. Try rule_id first because it is unambiguous.

Name lookup uses one server-filtered _find. Walking 2,066 rules took 8.8 seconds only to report no match.