Function hid_io_core::module::initialize [−][src]
pub async fn initialize(mailbox: Mailbox)
Device initialization Sets up a scanning thread per Device type (using tokio). Each scanning thread will create a new thread per device found. The scanning thread is required in case devices are plugged/unplugged while running. If a device is unplugged, the Device thread will exit.