pub trait PmResource {
    // Provided methods
    fn pwrbtn_evt(&mut self) { ... }
    fn slpbtn_evt(&mut self) { ... }
    fn rtc_evt(&mut self, _clear_evt: Event) { ... }
    fn gpe_evt(&mut self, _gpe: u32, _clear_evt: Option<Event>) { ... }
    fn pme_evt(&mut self, _requester_id: u16) { ... }
    fn register_gpe_notify_dev(
        &mut self,
        _gpe: u32,
        _notify_dev: Arc<Mutex<dyn GpeNotify>>
    ) { ... }
    fn register_pme_notify_dev(
        &mut self,
        _bus: u8,
        _notify_dev: Arc<Mutex<dyn PmeNotify>>
    ) { ... }
}

Provided Methods§

source

fn pwrbtn_evt(&mut self)

source

fn slpbtn_evt(&mut self)

source

fn rtc_evt(&mut self, _clear_evt: Event)

source

fn gpe_evt(&mut self, _gpe: u32, _clear_evt: Option<Event>)

source

fn pme_evt(&mut self, _requester_id: u16)

source

fn register_gpe_notify_dev( &mut self, _gpe: u32, _notify_dev: Arc<Mutex<dyn GpeNotify>> )

source

fn register_pme_notify_dev( &mut self, _bus: u8, _notify_dev: Arc<Mutex<dyn PmeNotify>> )

Implementors§