#[repr(u8)]pub enum ResetSignal {
None = 0,
FactoryReset = 1,
ConfigChanged = 2,
}Variants§
None = 0
The App can continue operating
FactoryReset = 1
The app has had it state factory reseted by the admin app
It should delete any runtime state it is currently holding, then acknowledge the reset and continue working.
ConfigChanged = 2
A configuration relevant to the application has been changed.
The application must reject all incoming request and store no persistent state until a power cycle.
Implementations§
Source§impl ResetSignal
impl ResetSignal
Trait Implementations§
Source§impl Debug for ResetSignal
impl Debug for ResetSignal
Source§impl Default for ResetSignal
impl Default for ResetSignal
Source§fn default() -> ResetSignal
fn default() -> ResetSignal
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ResetSignal
impl RefUnwindSafe for ResetSignal
impl Send for ResetSignal
impl Sync for ResetSignal
impl Unpin for ResetSignal
impl UnsafeUnpin for ResetSignal
impl UnwindSafe for ResetSignal
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