pub enum ServiceLifecycleState {
Starting,
Ready,
Draining,
Stopped,
Failed,
}Expand description
Stable process lifecycle states used by readiness and liveness probes.
Variants§
Starting
Represents the starting case.
Ready
Represents the ready case.
Draining
Represents the draining case.
Stopped
Represents the stopped case.
Failed
Represents the failed case.
Implementations§
Trait Implementations§
Source§impl Clone for ServiceLifecycleState
impl Clone for ServiceLifecycleState
impl Copy for ServiceLifecycleState
Source§impl Debug for ServiceLifecycleState
impl Debug for ServiceLifecycleState
impl Eq for ServiceLifecycleState
Source§impl PartialEq for ServiceLifecycleState
impl PartialEq for ServiceLifecycleState
impl StructuralPartialEq for ServiceLifecycleState
Auto Trait Implementations§
impl Freeze for ServiceLifecycleState
impl RefUnwindSafe for ServiceLifecycleState
impl Send for ServiceLifecycleState
impl Sync for ServiceLifecycleState
impl Unpin for ServiceLifecycleState
impl UnsafeUnpin for ServiceLifecycleState
impl UnwindSafe for ServiceLifecycleState
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