Home
last modified time | relevance | path

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

/external/crosvm/usb_util/src/
Dhotplug.rs39 pub struct UsbHotplugHandlerHolder { struct
44 impl UsbHotplugHandlerHolder { impl
49 ) -> Box<UsbHotplugHandlerHolder> { in new() argument
50 let holder = UsbHotplugHandlerHolder { in new()
71 let holder = &*(user_data as *mut UsbHotplugHandlerHolder); in hotplug_cb()
Dlibusb_context.rs12 use crate::hotplug::{hotplug_cb, UsbHotplugHandler, UsbHotplugHandlerHolder};
170 let holder = UsbHotplugHandlerHolder::new(self.inner.clone(), handler); in set_hotplug_cb()