pub enum ServiceState {
CreateJust,
Running,
ShutdownAlready,
StartFailed,
}Variants§
CreateJust
Service just created, not started
Running
Service running
ShutdownAlready
Service shutdown
StartFailed
Service start failure
Trait Implementations§
Source§impl Clone for ServiceState
impl Clone for ServiceState
impl Copy for ServiceState
Source§impl Debug for ServiceState
impl Debug for ServiceState
Source§impl Display for ServiceState
impl Display for ServiceState
impl Eq for ServiceState
Source§impl PartialEq for ServiceState
impl PartialEq for ServiceState
impl StructuralPartialEq for ServiceState
Auto Trait Implementations§
impl Freeze for ServiceState
impl RefUnwindSafe for ServiceState
impl Send for ServiceState
impl Sync for ServiceState
impl Unpin for ServiceState
impl UnsafeUnpin for ServiceState
impl UnwindSafe for ServiceState
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