Enum Lpms
#[repr(u8)]pub enum Lpms {
Stop = 0,
Standby = 1,
}Variants§
Stop = 0
Keeps Stop mode when entering DeepSleep.
Standby = 1
Allows Standby mode when entering DeepSleep.
Implementations§
Trait Implementations§
impl Copy for Lpms
impl Eq for Lpms
§impl Ord for Lpms
impl Ord for Lpms
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
§impl PartialOrd for Lpms
impl PartialOrd for Lpms
impl StructuralPartialEq for Lpms
Auto Trait Implementations§
impl Freeze for Lpms
impl RefUnwindSafe for Lpms
impl Send for Lpms
impl Sync for Lpms
impl Unpin for Lpms
impl UnsafeUnpin for Lpms
impl UnwindSafe for Lpms
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