pub struct AcpiHandle(/* private fields */);
Expand description
A handle to an object in the AML namespace
Implementations§
Source§impl AcpiHandle
impl AcpiHandle
Sourcepub fn get_info(&self) -> Result<DeviceInfo<'_>, AcpiError>
pub fn get_info(&self) -> Result<DeviceInfo<'_>, AcpiError>
Gets the object’s device info
Sourcepub fn get_irq_routing_table(
&self,
) -> Result<Option<impl Iterator<Item = AcpiPciRoutingTableEntry<'_>>>, AcpiError>
pub fn get_irq_routing_table( &self, ) -> Result<Option<impl Iterator<Item = AcpiPciRoutingTableEntry<'_>>>, AcpiError>
If the device is a PCI bus, this method returns the IRQ mapping for the devices on that bus. Note that this is only for pin-based interrupts, and can be ignored if using MSI.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for AcpiHandle
impl RefUnwindSafe for AcpiHandle
impl !Send for AcpiHandle
impl !Sync for AcpiHandle
impl Unpin for AcpiHandle
impl UnwindSafe for AcpiHandle
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