pub struct System { /* private fields */ }Implementations§
Source§impl System
impl System
pub fn new(root: AcpiRoot) -> Result<System, DriverError>
pub fn pci_ecam_regions(&self) -> &[AcpiPciEcam]
pub fn routing(&self) -> &AcpiRouting
pub fn path_to_device_id(&self, path: &str) -> Option<DeviceId>
pub fn resource_address_to_device_id( &self, address: AcpiResourceAddress, ) -> Option<DeviceId>
pub fn spcr_console_device_id(&self) -> Option<DeviceId>
pub fn resource_devices(&self) -> Result<Vec<AcpiResourceDevice>, ProbeError>
pub fn serial_console_memory_range(&self) -> Option<AcpiResourceRange>
pub fn pci_irq_for_endpoint( &self, info: PciInfo, ) -> Result<Option<AcpiPciIrqRoute>, OnProbeError>
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for System
impl !RefUnwindSafe for System
impl !UnwindSafe for System
impl Unpin for System
impl UnsafeUnpin for System
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