Searched refs:block_sending (Results 1 – 6 of 6) sorted by relevance
926 EXPECT_TRUE(doh.block_sending(true)); in TEST_F()931 EXPECT_TRUE(doh.block_sending(false)); in TEST_F()984 EXPECT_TRUE(doh.block_sending(true)); in TEST_F()994 EXPECT_TRUE(doh.block_sending(false)); in TEST_F()1076 EXPECT_TRUE(doh.block_sending(true)); in TEST_F()1086 EXPECT_TRUE(doh.block_sending(false)); in TEST_F()1125 EXPECT_TRUE(doh.block_sending(true)); in TEST_F()1135 EXPECT_TRUE(doh.block_sending(false)); in TEST_F()
67 bool block_sending(bool block);
149 bool DohFrontend::block_sending(bool block) { in block_sending() function in test::DohFrontend
37 pub block_sending: bool, field
185 pub fn block_sending(&self, value: bool) -> Result<()> { in block_sending() method186 self.config.lock().unwrap().block_sending = value; in block_sending()382 Some(command) = event_rx.recv(), if !config.lock().unwrap().block_sending => { in worker_thread()
165 doh.block_sending(block).or_else(logging_and_return_err).is_ok() in frontend_block_sending()