pub struct LifecycleManager { /* private fields */ }
Expand description
Simple lifecycle manager for the framework
Implementations§
Source§impl LifecycleManager
impl LifecycleManager
Sourcepub fn is_running(&self) -> bool
pub fn is_running(&self) -> bool
Check if the lifecycle manager is running
Sourcepub fn set_running(&self, running: bool)
pub fn set_running(&self, running: bool)
Set running state
Trait Implementations§
Source§impl Debug for LifecycleManager
impl Debug for LifecycleManager
Auto Trait Implementations§
impl Freeze for LifecycleManager
impl RefUnwindSafe for LifecycleManager
impl Send for LifecycleManager
impl Sync for LifecycleManager
impl Unpin for LifecycleManager
impl UnwindSafe for LifecycleManager
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