Searched refs:UsbHotplugHandlerHolder (Results 1 – 2 of 2) sorted by relevance
39 pub struct UsbHotplugHandlerHolder { struct44 impl UsbHotplugHandlerHolder { impl49 ) -> Box<UsbHotplugHandlerHolder> { in new() argument50 let holder = UsbHotplugHandlerHolder { in new()71 let holder = &*(user_data as *mut UsbHotplugHandlerHolder); in hotplug_cb()
12 use crate::hotplug::{hotplug_cb, UsbHotplugHandler, UsbHotplugHandlerHolder};170 let holder = UsbHotplugHandlerHolder::new(self.inner.clone(), handler); in set_hotplug_cb()