#[non_exhaustive]pub enum ServiceDependencyCondition {
Started,
Healthy,
CompletedSuccessfully,
Other(ProtectedString),
}Expand description
Readiness state a service dependency must reach before its dependent starts.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Started
The dependency’s service startup completed.
Healthy
The dependency reported healthy readiness.
CompletedSuccessfully
The dependency exited successfully.
Other(ProtectedString)
A source-specific condition retained for explicit target-side reporting.
Trait Implementations§
Source§impl Clone for ServiceDependencyCondition
impl Clone for ServiceDependencyCondition
Source§fn clone(&self) -> ServiceDependencyCondition
fn clone(&self) -> ServiceDependencyCondition
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ServiceDependencyCondition
impl Debug for ServiceDependencyCondition
impl Eq for ServiceDependencyCondition
impl StructuralPartialEq for ServiceDependencyCondition
Auto Trait Implementations§
impl Freeze for ServiceDependencyCondition
impl RefUnwindSafe for ServiceDependencyCondition
impl Send for ServiceDependencyCondition
impl Sync for ServiceDependencyCondition
impl Unpin for ServiceDependencyCondition
impl UnsafeUnpin for ServiceDependencyCondition
impl UnwindSafe for ServiceDependencyCondition
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