Searched refs:usb_file (Results 1 – 2 of 2) sorted by relevance
100 let usb_file: File = if dev_path.parent() == Some(Path::new("/proc/self/fd")) { in do_usb_attach() localVariable117 file: usb_file, in do_usb_attach()
155 fn handle_attach_device(&self, usb_file: File) -> UsbControlResult { in handle_attach_device()156 let device = match Device::new(usb_file) { in handle_attach_device()