pub enum ApplicationState {
Created,
Starting,
Running,
Stopping,
Stopped,
Failed(String),
}
Expand description
Application state enumeration
Variants§
Trait Implementations§
Source§impl Clone for ApplicationState
impl Clone for ApplicationState
Source§fn clone(&self) -> ApplicationState
fn clone(&self) -> ApplicationState
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for ApplicationState
impl Debug for ApplicationState
Source§impl PartialEq for ApplicationState
impl PartialEq for ApplicationState
impl StructuralPartialEq for ApplicationState
Auto Trait Implementations§
impl Freeze for ApplicationState
impl RefUnwindSafe for ApplicationState
impl Send for ApplicationState
impl Sync for ApplicationState
impl Unpin for ApplicationState
impl UnwindSafe for ApplicationState
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