pub enum ReplicaPhase {
Starting,
Ready,
Suspended,
Stopping,
Stopped,
Failed,
}Expand description
Lifecycle phase of a replica as the provider reports it.
Variants§
Starting
Requested, not reachable yet.
Ready
Reachable.
Suspended
Frozen (Fly suspend).
Stopping
SIGTERM sent / draining.
Stopped
Gone or stopped.
Failed
Crashed or failed to start.
Trait Implementations§
Source§impl Clone for ReplicaPhase
impl Clone for ReplicaPhase
impl Copy for ReplicaPhase
Source§impl Debug for ReplicaPhase
impl Debug for ReplicaPhase
Source§impl<'de> Deserialize<'de> for ReplicaPhase
impl<'de> Deserialize<'de> for ReplicaPhase
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
impl Eq for ReplicaPhase
Source§impl Hash for ReplicaPhase
impl Hash for ReplicaPhase
Source§impl PartialEq for ReplicaPhase
impl PartialEq for ReplicaPhase
Source§impl Serialize for ReplicaPhase
impl Serialize for ReplicaPhase
impl StructuralPartialEq for ReplicaPhase
Auto Trait Implementations§
impl Forget for ReplicaPhase
impl Freeze for ReplicaPhase
impl Move for ReplicaPhase
impl RefUnwindSafe for ReplicaPhase
impl Send for ReplicaPhase
impl Sync for ReplicaPhase
impl Unpin for ReplicaPhase
impl UnsafeUnpin for ReplicaPhase
impl UnwindSafe for ReplicaPhase
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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.