(action: &RuleAction)
| 166 | } |
| 167 | |
| 168 | fn model_action_to_native(action: &RuleAction) -> NET_FW_ACTION { |
| 169 | match action { |
| 170 | RuleAction::Allow => NET_FW_ACTION_ALLOW, |
| 171 | RuleAction::Block => NET_FW_ACTION_BLOCK, |
| 172 | } |
| 173 | } |
| 174 | |
| 175 | /// Converts a bitmask of firewall profile flags to a list of profile name strings. |
| 176 | /// |
no outgoing calls
no test coverage detected