Enum AppState
pub enum AppState {
Ready,
Running,
Stopped,
}Expand description
Application lifecycle state, independent of the simulation’s session state.
Variants§
Ready
Startup has not been attempted.
Running
Startup was attempted and the app has not stopped.
Stopped
No more hooks will run, including after a shutdown failure.
Trait Implementations§
impl Copy for AppState
impl Eq for AppState
impl StructuralPartialEq for AppState
Auto Trait Implementations§
impl Freeze for AppState
impl RefUnwindSafe for AppState
impl Send for AppState
impl Sync for AppState
impl Unpin for AppState
impl UnwindSafe for AppState
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