pub fn attach_host_backend_device(
    usb_file: File,
    device_state: DeviceState
) -> Result<(Arc<Mutex<BackendDeviceType>>, Arc<dyn EventHandler>)>
Expand description

Attaches a host device to the backend. This creates a host USB device object by opening a usbdevfs file and returns a pair of the device and its fd event handler.