Home
last modified time | relevance | path

Searched refs:slave_listener (Results 1 – 2 of 2) sorted by relevance

/external/rust/crates/vmm_vhost/src/vhost_user/
Dslave.rs60 let slave_listener = SlaveListener::new(listener, backend).unwrap(); in test_slave_listener_set_nonblocking() localVariable
62 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() localVariable
79 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 …]
Dmod.rs205 let mut slave_listener = SlaveListener::new(listener, backend).unwrap(); in create_slave() localVariable
207 (master, slave_listener.accept().unwrap().unwrap()) in create_slave()