pub struct SimplePmBus {
regs: MmioRegion,
power_state: PowerState,
children: Vec<BusChild>,
num_clocks: u32,
}Fields§
§regs: MmioRegion§power_state: PowerState§children: Vec<BusChild>§num_clocks: u32Implementations§
Trait Implementations§
Source§impl BusDriver for SimplePmBus
impl BusDriver for SimplePmBus
Source§fn compatible(&self) -> &[&str]
fn compatible(&self) -> &[&str]
Performs the compatible operation.
Source§fn as_firewall(&self) -> Option<&dyn FirewallController>
fn as_firewall(&self) -> Option<&dyn FirewallController>
Returns the optional [
FirewallController] capability, if any. Read moreSource§fn probe(&self) -> bool
fn probe(&self) -> bool
Returns
true if the driver believes the hardware is present. Read moreSource§fn error_count(&self) -> u64
fn error_count(&self) -> u64
Performs the error count operation.
Source§fn handle_irq(&mut self) -> bool
fn handle_irq(&mut self) -> bool
Handles irq.
Auto Trait Implementations§
impl Freeze for SimplePmBus
impl RefUnwindSafe for SimplePmBus
impl Send for SimplePmBus
impl Sync for SimplePmBus
impl Unpin for SimplePmBus
impl UnsafeUnpin for SimplePmBus
impl UnwindSafe for SimplePmBus
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