pub enum LifecyclePhase {
Submitted,
Runnable,
Active,
Suspended,
Terminal,
}Expand description
What major phase of existence is this execution in?
Variants§
Submitted
Accepted by engine, not yet resolved to runnable/delayed. Transient.
Runnable
Eligible or potentially eligible for claiming.
Active
Currently owned by a worker lease and in progress.
Suspended
Intentionally paused, waiting for signal/approval/callback.
Terminal
Execution is finished. No further state transitions except replay.
Trait Implementations§
Source§impl Clone for LifecyclePhase
impl Clone for LifecyclePhase
Source§fn clone(&self) -> LifecyclePhase
fn clone(&self) -> LifecyclePhase
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 LifecyclePhase
impl Debug for LifecyclePhase
Source§impl<'de> Deserialize<'de> for LifecyclePhase
impl<'de> Deserialize<'de> for LifecyclePhase
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 Hash for LifecyclePhase
impl Hash for LifecyclePhase
Source§impl PartialEq for LifecyclePhase
impl PartialEq for LifecyclePhase
Source§impl Serialize for LifecyclePhase
impl Serialize for LifecyclePhase
impl Copy for LifecyclePhase
impl Eq for LifecyclePhase
impl StructuralPartialEq for LifecyclePhase
Auto Trait Implementations§
impl Freeze for LifecyclePhase
impl RefUnwindSafe for LifecyclePhase
impl Send for LifecyclePhase
impl Sync for LifecyclePhase
impl Unpin for LifecyclePhase
impl UnsafeUnpin for LifecyclePhase
impl UnwindSafe for LifecyclePhase
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