Searched refs:slave_listener (Results 1 – 2 of 2) sorted by relevance
60 let slave_listener = SlaveListener::new(listener, backend).unwrap(); in test_slave_listener_set_nonblocking() localVariable62 slave_listener.set_nonblocking(true).unwrap(); in test_slave_listener_set_nonblocking()63 slave_listener.set_nonblocking(false).unwrap(); in test_slave_listener_set_nonblocking()64 slave_listener.set_nonblocking(false).unwrap(); in test_slave_listener_set_nonblocking()65 slave_listener.set_nonblocking(true).unwrap(); in test_slave_listener_set_nonblocking()66 slave_listener.set_nonblocking(true).unwrap(); in test_slave_listener_set_nonblocking()77 let mut slave_listener = SlaveListener::new(listener, backend).unwrap(); in test_slave_listener_accept() localVariable79 slave_listener.set_nonblocking(true).unwrap(); in test_slave_listener_accept()80 assert!(slave_listener.accept().unwrap().is_none()); in test_slave_listener_accept()81 assert!(slave_listener.accept().unwrap().is_none()); in test_slave_listener_accept()[all …]
205 let mut slave_listener = SlaveListener::new(listener, backend).unwrap(); in create_slave() localVariable207 (master, slave_listener.accept().unwrap().unwrap()) in create_slave()