pub struct Cfg {
pub idle_threshold_ms: u32,
pub standby_threshold_ms: u32,
pub deep_sleep_threshold_ms: u32,
}Expand description
PM subsystem configuration.
Fields§
§idle_threshold_ms: u32Idle ms before ACTIVE to IDLE transition.
standby_threshold_ms: u32Idle ms before IDLE to STANDBY transition.
deep_sleep_threshold_ms: u32Idle ms before DEEP_SLEEP transition.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Cfg
impl RefUnwindSafe for Cfg
impl Send for Cfg
impl Sync for Cfg
impl Unpin for Cfg
impl UnwindSafe for Cfg
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