Enum NxpState
pub enum NxpState {
Awake,
Asleep,
}Expand description
Power state of the NXP.
Variants§
Awake
NXP is actively asserting its wakeup pin.
Asleep
NXP has released its wakeup pin - it is powered off.
Trait Implementations§
§impl<'de> Deserialize<'de> for NxpState
impl<'de> Deserialize<'de> for NxpState
§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Copy for NxpState
impl StructuralPartialEq for NxpState
Auto Trait Implementations§
impl Freeze for NxpState
impl RefUnwindSafe for NxpState
impl Send for NxpState
impl Sync for NxpState
impl Unpin for NxpState
impl UnwindSafe for NxpState
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