Enum windows_service::service::ServiceState
source · #[repr(u32)]
pub enum ServiceState {
Stopped,
StartPending,
StopPending,
Running,
ContinuePending,
PausePending,
Paused,
}Expand description
Service state returned as a part of ServiceStatus.
Variants§
Trait Implementations§
source§impl Clone for ServiceState
impl Clone for ServiceState
source§fn clone(&self) -> ServiceState
fn clone(&self) -> ServiceState
Returns a copy 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 ServiceState
impl Debug for ServiceState
source§impl Hash for ServiceState
impl Hash for ServiceState
source§impl PartialEq<ServiceState> for ServiceState
impl PartialEq<ServiceState> for ServiceState
source§fn eq(&self, other: &ServiceState) -> bool
fn eq(&self, other: &ServiceState) -> bool
This method tests for
self and other values to be equal, and is used
by ==.