pub enum OperationalState {
Inactive,
Provisioning,
Starting,
HealthCheck,
Ready,
Running,
Stopping,
Stopped,
Failed,
Terminated,
Unknown,
}Expand description
Element runtime lifecycle state.
Normal progression: Inactive → Provisioning → Starting → HealthCheck → Ready → Running → Stopping → Stopped → Terminated.
Failed and Unknown are non-sequential and reachable from any
state.
Variants§
Inactive
Not yet started.
Provisioning
Infrastructure is being allocated.
Starting
Process is starting up.
HealthCheck
Verifying readiness.
Ready
Available for use.
Running
Actively serving a trial.
Stopping
Graceful shutdown in progress.
Stopped
Stopped normally; resources still allocated.
Failed
Error state; cannot operate.
Terminated
Fully torn down; all resources released.
Unknown
Status cannot be determined.
Trait Implementations§
Source§impl Clone for OperationalState
impl Clone for OperationalState
Source§fn clone(&self) -> OperationalState
fn clone(&self) -> OperationalState
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 OperationalState
impl Debug for OperationalState
Source§impl<'de> Deserialize<'de> for OperationalState
impl<'de> Deserialize<'de> for OperationalState
Source§fn 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
Source§impl Hash for OperationalState
impl Hash for OperationalState
Source§impl Ord for OperationalState
impl Ord for OperationalState
Source§fn cmp(&self, other: &OperationalState) -> Ordering
fn cmp(&self, other: &OperationalState) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for OperationalState
impl PartialEq for OperationalState
Source§impl PartialOrd for OperationalState
impl PartialOrd for OperationalState
Source§impl Serialize for OperationalState
impl Serialize for OperationalState
impl Copy for OperationalState
impl Eq for OperationalState
impl StructuralPartialEq for OperationalState
Auto Trait Implementations§
impl Freeze for OperationalState
impl RefUnwindSafe for OperationalState
impl Send for OperationalState
impl Sync for OperationalState
impl Unpin for OperationalState
impl UnsafeUnpin for OperationalState
impl UnwindSafe for OperationalState
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.