fidl_fuchsia_net_routes_ext::rules

Function remove_rule

Source
pub async fn remove_rule<I: Ip + FidlRuleAdminIpExt>(
    rule_set: &<I::RuleSetMarker as ProtocolMarker>::Proxy,
    index: RuleIndex,
) -> Result<Result<(), RuleSetError>, Error>
Expand description

Dispatches remove_rule on either the RuleSetV4 or RuleSetV6 proxy.