Enum backstage::actor::ServiceStatus [−][src]
#[repr(u8)] pub enum ServiceStatus { Starting, Initializing, Degraded, Running, Stopping, Maintenance, Stopped, }
The possible statuses a service (application) can be
Variants
Early bootup
Late bootup
The service is operational but one or more services failed(Degraded or Maintenance) or in process of being fully operational while startup.
The service is fully operational.
The service is shutting down, should be handled accordingly by active dependent services
The service is maintenance mode, should be handled accordingly by active dependent services
The service is not running, should be handled accordingly by active dependent services
Trait Implementations
impl Clone for ServiceStatus
[src]
fn clone(&self) -> ServiceStatus
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for ServiceStatus
[src]
impl Debug for ServiceStatus
[src]
impl<'de> Deserialize<'de> for ServiceStatus
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl PartialEq<ServiceStatus> for ServiceStatus
[src]
fn eq(&self, other: &ServiceStatus) -> bool
[src]
#[must_use]pub fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
pub fn ne(&self, other: &Rhs) -> boolimpl Serialize for ServiceStatus
[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl StructuralPartialEq for ServiceStatus
[src]
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
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,