pub enum DeploymentStatus {
Show 14 variants
Pending,
InitialSetup,
InitialSetupFailed,
Provisioning,
ProvisioningFailed,
Running,
RefreshFailed,
UpdatePending,
Updating,
UpdateFailed,
DeletePending,
Deleting,
DeleteFailed,
Deleted,
}Expand description
Deployment status in the deployment lifecycle
Variants§
Pending
InitialSetup
InitialSetupFailed
Provisioning
ProvisioningFailed
Running
RefreshFailed
UpdatePending
Updating
UpdateFailed
DeletePending
Deleting
DeleteFailed
Deleted
Implementations§
Source§impl DeploymentStatus
impl DeploymentStatus
Sourcepub fn is_synced(&self) -> bool
pub fn is_synced(&self) -> bool
Check if deployment is synced (current state matches desired state).
When synced, no more deployment steps are needed for the current operation. Note: This doesn’t mean the deployment is “done forever”:
Running→ heartbeats continue, updates can come*Failed→ can be retriedDeleted→ can be recreated
“Synced” means: “we’ve reached the goal of the current deployment phase”
Trait Implementations§
Source§impl Clone for DeploymentStatus
impl Clone for DeploymentStatus
Source§fn clone(&self) -> DeploymentStatus
fn clone(&self) -> DeploymentStatus
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 DeploymentStatus
impl Debug for DeploymentStatus
Source§impl<'de> Deserialize<'de> for DeploymentStatus
impl<'de> Deserialize<'de> for DeploymentStatus
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 PartialEq for DeploymentStatus
impl PartialEq for DeploymentStatus
Source§impl Serialize for DeploymentStatus
impl Serialize for DeploymentStatus
impl Copy for DeploymentStatus
impl Eq for DeploymentStatus
impl StructuralPartialEq for DeploymentStatus
Auto Trait Implementations§
impl Freeze for DeploymentStatus
impl RefUnwindSafe for DeploymentStatus
impl Send for DeploymentStatus
impl Sync for DeploymentStatus
impl Unpin for DeploymentStatus
impl UnsafeUnpin for DeploymentStatus
impl UnwindSafe for DeploymentStatus
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> 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.