(
&self,
_notification_type: AcpiNotificationFlags,
)
| 4610 | } |
| 4611 | |
| 4612 | pub fn notify_hotplug( |
| 4613 | &self, |
| 4614 | _notification_type: AcpiNotificationFlags, |
| 4615 | ) -> DeviceManagerResult<()> { |
| 4616 | return self |
| 4617 | .ged_notification_device |
| 4618 | .as_ref() |
| 4619 | .unwrap() |
| 4620 | .lock() |
| 4621 | .unwrap() |
| 4622 | .notify(_notification_type) |
| 4623 | .map_err(DeviceManagerError::HotPlugNotification); |
| 4624 | } |
| 4625 | |
| 4626 | pub fn add_device( |
| 4627 | &mut self, |
no test coverage detected