pub struct LinuxHotplugMonitor { /* private fields */ }Expand description
Linux native libusb hotplug events, without opening or claiming devices. If libusb lacks hotplug support, polls descriptors every 250 ms; a complete unplug/replug between fallback polls may be missed; Android must use its host receiver instead. Retain this handle to monitor; dropping it stops and joins the worker. This is discovery, not DAC support verification; composite devices with Audio interfaces are included.
Implementations§
Trait Implementations§
Source§impl Drop for LinuxHotplugMonitor
impl Drop for LinuxHotplugMonitor
Auto Trait Implementations§
impl !RefUnwindSafe for LinuxHotplugMonitor
impl !UnwindSafe for LinuxHotplugMonitor
impl Forget for LinuxHotplugMonitor
impl Freeze for LinuxHotplugMonitor
impl Move for LinuxHotplugMonitor
impl Send for LinuxHotplugMonitor
impl Sync for LinuxHotplugMonitor
impl Unpin for LinuxHotplugMonitor
impl UnsafeUnpin for LinuxHotplugMonitor
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more