#[repr(C)]pub enum SleepMode {
Shallow = 0,
Deep = 1,
}Expand description
Sleep mode requested
Variants§
Shallow = 0
Sleep in shallow mode. External events awake the job
Deep = 1
Sleep in deep mode. No sleep interruption
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SleepMode
impl RefUnwindSafe for SleepMode
impl Send for SleepMode
impl Sync for SleepMode
impl Unpin for SleepMode
impl UnwindSafe for SleepMode
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