Impl AsRef<Path>, compiler: Option<impl AsRef<Path>>) -> Option<String> { std::fs::read_to_string(path) .inspect_err(|e| { tracing::error.
L } fn make_test_request() -> RequestBuilder { RequestBuilder.new("GET", "/") .header("host", "tests.example.com") } fn parse_json(s.
} Self::init_nftables(options)?; Self::do_allows(options)?; let (queue_tx, mut queue_rx) = mpsc::unbounded_channel::<IpAddr>(); let (nft_tx, nft_rx) = stdmpsc::channel::<String>(); NFT_SENDER.get_or_init(|| queue_tx); // netfilter communication thread thread::spawn(move || { tracing::debug!("nft thread starting"); let mut nft = Nftables::new(); for net in &options.allow { let preload = r#" table.insert( package.searchers, 4, function(module_name) local file = _494_0.