Enum overclock::core::ServiceStatus
source · [−]#[repr(u8)]
pub enum ServiceStatus {
Starting,
Initializing,
Degraded,
Running,
Stopping,
Maintenance,
Stopped,
Idle,
Outage,
}
Expand description
The possible statuses a service (application) can be
Variants
Starting
Early bootup
Initializing
Late bootup
Degraded
The service is operational but one or more services failed(Degraded or Maintenance) or in process of being fully operational while startup.
Running
The service is fully operational.
Stopping
The service is shutting down, should be handled accordingly by active dependent services
Maintenance
The service is maintenance mode, should be handled accordingly by active dependent services
Stopped
The service is not running, should be handled accordingly by active dependent services
Idle
The service is idle.
Outage
The service is in outage.
Trait Implementations
sourceimpl Clone for ServiceStatus
impl Clone for ServiceStatus
sourcefn clone(&self) -> ServiceStatus
fn clone(&self) -> ServiceStatus
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for ServiceStatus
impl Debug for ServiceStatus
sourceimpl Default for ServiceStatus
impl Default for ServiceStatus
sourceimpl<'de> Deserialize<'de> for ServiceStatus
impl<'de> Deserialize<'de> for ServiceStatus
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl Display for ServiceStatus
impl Display for ServiceStatus
sourceimpl PartialEq<ServiceStatus> for ServiceStatus
impl PartialEq<ServiceStatus> for ServiceStatus
sourceimpl Serialize for ServiceStatus
impl Serialize for ServiceStatus
impl Copy for ServiceStatus
impl StructuralPartialEq for ServiceStatus
Auto Trait Implementations
impl RefUnwindSafe for ServiceStatus
impl Send for ServiceStatus
impl Sync for ServiceStatus
impl Unpin for ServiceStatus
impl UnwindSafe for ServiceStatus
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more