pub enum ServiceLifecycle {
NotStarted,
Starting,
Running,
Stopping,
Stopped,
}
Expand description
Service state enumeration
Variants§
Trait Implementations§
Source§impl Clone for ServiceLifecycle
impl Clone for ServiceLifecycle
Source§fn clone(&self) -> ServiceLifecycle
fn clone(&self) -> ServiceLifecycle
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 ServiceLifecycle
impl Debug for ServiceLifecycle
Source§impl PartialEq for ServiceLifecycle
impl PartialEq for ServiceLifecycle
impl Copy for ServiceLifecycle
impl StructuralPartialEq for ServiceLifecycle
Auto Trait Implementations§
impl Freeze for ServiceLifecycle
impl RefUnwindSafe for ServiceLifecycle
impl Send for ServiceLifecycle
impl Sync for ServiceLifecycle
impl Unpin for ServiceLifecycle
impl UnwindSafe for ServiceLifecycle
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