= CString::new(cmd).expect("invalid nft command"); let (rc, _output, error) = nft.run_cmd(c_cmd.as_ptr()); if rc != 0 .

{ "ipv4" => BLOCK_METRICS .with_label_values(&["ipv4"]) .inc_by(queue4.len() as u64); Some(()) } } } paste! { library! { #[clone] type MaxmindASNDB = Val<MaxmindASNDB>; #[clone] type PersistedMetrics = Val<PersistedMetrics>; impl Val<MetricRegistry> { fn capture(re: Val<RegexMatcher>, s: Arc<str>, group: Arc<str>) -> bool { self.0.can_decide() } fn get_path(m: Val<MutableMap>, path: Arc<str>, value: $as_arg) -> Option<$as_out> { if let Some(counter.