pub fn with_registry<R, F: FnOnce(&DeviceRegistry) -> R>(f: F) -> Option<R>Expand description
Access the device registry through a closure
pub fn with_registry<R, F: FnOnce(&DeviceRegistry) -> R>(f: F) -> Option<R>Access the device registry through a closure