pub(crate) struct Pm1Resource {
pub(crate) status: u16,
enable: u16,
control: u16,
suspend_tube: Arc<Mutex<SendTube>>,
rtc_clear_evt: Option<Event>,
}Fields§
§status: u16§enable: u16§control: u16§suspend_tube: Arc<Mutex<SendTube>>§rtc_clear_evt: Option<Event>Implementations§
Source§impl Pm1Resource
impl Pm1Resource
fn trigger_sci(&self, sci_evt: &IrqLevelEvent)
fn resample_clear_evts_and_trigger(&mut self, sci_evt: &IrqLevelEvent)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Pm1Resource
impl RefUnwindSafe for Pm1Resource
impl Send for Pm1Resource
impl Sync for Pm1Resource
impl Unpin for Pm1Resource
impl UnwindSafe for Pm1Resource
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