pub enum DurableBackgroundSubagentExecutionStatus {
Accepted,
Starting,
Running,
Waiting,
Completed,
Failed,
Cancelled,
}Expand description
Monotonic durable execution state for one background attempt.
Variants§
Accepted
Identity, quota, ownership, and durable admission exist.
Starting
Child construction is in progress.
Running
Child execution can make progress.
Waiting
The same attempt is waiting for an explicitly resumable condition.
Completed
Child execution completed successfully.
Failed
Child execution failed or was interrupted after process loss.
Cancelled
Child execution was cancelled.
Implementations§
Trait Implementations§
Source§impl Clone for DurableBackgroundSubagentExecutionStatus
impl Clone for DurableBackgroundSubagentExecutionStatus
Source§fn clone(&self) -> DurableBackgroundSubagentExecutionStatus
fn clone(&self) -> DurableBackgroundSubagentExecutionStatus
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 moreimpl Copy for DurableBackgroundSubagentExecutionStatus
Source§impl<'de> Deserialize<'de> for DurableBackgroundSubagentExecutionStatus
impl<'de> Deserialize<'de> for DurableBackgroundSubagentExecutionStatus
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
impl Eq for DurableBackgroundSubagentExecutionStatus
impl StructuralPartialEq for DurableBackgroundSubagentExecutionStatus
Auto Trait Implementations§
impl Freeze for DurableBackgroundSubagentExecutionStatus
impl RefUnwindSafe for DurableBackgroundSubagentExecutionStatus
impl Send for DurableBackgroundSubagentExecutionStatus
impl Sync for DurableBackgroundSubagentExecutionStatus
impl Unpin for DurableBackgroundSubagentExecutionStatus
impl UnsafeUnpin for DurableBackgroundSubagentExecutionStatus
impl UnwindSafe for DurableBackgroundSubagentExecutionStatus
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