pub enum DependencyCondition {
ServiceStarted,
ServiceHealthy,
ServiceCompletedSuccessfully,
Other(String),
}Expand description
A long-syntax dependency condition.
Variants§
ServiceStarted
Wait until the dependency has started.
ServiceHealthy
Wait until the dependency’s health check succeeds.
ServiceCompletedSuccessfully
Wait until the dependency exits successfully.
Other(String)
A deferred or provider-specific condition.
Implementations§
Trait Implementations§
Source§impl Clone for DependencyCondition
impl Clone for DependencyCondition
Source§fn clone(&self) -> DependencyCondition
fn clone(&self) -> DependencyCondition
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 DependencyCondition
impl Debug for DependencyCondition
impl Eq for DependencyCondition
Source§impl PartialEq for DependencyCondition
impl PartialEq for DependencyCondition
impl StructuralPartialEq for DependencyCondition
Auto Trait Implementations§
impl Freeze for DependencyCondition
impl RefUnwindSafe for DependencyCondition
impl Send for DependencyCondition
impl Sync for DependencyCondition
impl Unpin for DependencyCondition
impl UnsafeUnpin for DependencyCondition
impl UnwindSafe for DependencyCondition
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