#[repr(u8)]pub enum ResetMode {
HardwareResetImmediately = 0,
ControlledSoftwareReset = 1,
ControlledSoftwareResetGpsOnly = 2,
HardwareResetAfterShutdown = 4,
ControlledGpsStop = 8,
ControlledGpsStart = 9,
}
Expand description
Reset Type
Variants§
HardwareResetImmediately = 0
Hardware reset (Watchdog) immediately
ControlledSoftwareReset = 1
ControlledSoftwareResetGpsOnly = 2
HardwareResetAfterShutdown = 4
Hardware reset (Watchdog) after shutdown (>=FW6.0)
ControlledGpsStop = 8
ControlledGpsStart = 9
Trait Implementations§
source§impl<'de> Deserialize<'de> for ResetMode
impl<'de> Deserialize<'de> for ResetMode
source§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 ResetMode
Auto Trait Implementations§
impl RefUnwindSafe for ResetMode
impl Send for ResetMode
impl Sync for ResetMode
impl Unpin for ResetMode
impl UnwindSafe for ResetMode
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