#[non_exhaustive]pub enum AgentLoopOutcome {
FailureClosing(Box<RunFailureCloseOutcome>),
ChildJoin(Box<ChildRunJoinRequest>),
CancellationConfirmed(AppendOutcome),
Waiting(WaitCheckpointCommitOutcome),
Succeeded(BarrierCommitOutcome),
Failed(AppendOutcome),
RecoveryReleased(LeaseReleaseOutcome),
Deferred {
not_before: Timestamp,
schedule: DelayedRetryScheduleOutcome,
},
Yielded {
release: LeaseReleaseOutcome,
},
Cancelled {
release: LeaseReleaseOutcome,
},
}Expand description
Closed result of one bounded claimed-run execution quantum.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
FailureClosing(Box<RunFailureCloseOutcome>)
Original failure sealed and execution lease released; maintenance drains children.
ChildJoin(Box<ChildRunJoinRequest>)
Dedicated child Join registration released the parent lease. This is neither a terminal failure nor a checkpointed timer/user wait.
CancellationConfirmed(AppendOutcome)
Durable cancellation intent and exact cumulative usage were acknowledged.
Waiting(WaitCheckpointCommitOutcome)
The graph suspended with a complete durable wait batch.
Succeeded(BarrierCommitOutcome)
The graph and admitted agent invocation succeeded.
Failed(AppendOutcome)
Durable supervision committed terminal failure.
RecoveryReleased(LeaseReleaseOutcome)
Same-fence in-flight work released ownership for crash takeover.
Deferred
All unsettled work is durably gated until this database instant.
Fields
schedule: DelayedRetryScheduleOutcomeExact durable scheduling convergence result.
Yielded
The configured durable work quantum was exhausted safely.
Fields
release: LeaseReleaseOutcomeExact-fence lease release convergence.
Cancelled
Cooperative shutdown won and ownership was released.
Fields
release: LeaseReleaseOutcomeExact-fence lease release convergence.
Trait Implementations§
Source§impl Clone for AgentLoopOutcome
impl Clone for AgentLoopOutcome
Auto Trait Implementations§
impl !RefUnwindSafe for AgentLoopOutcome
impl !UnwindSafe for AgentLoopOutcome
impl Forget for AgentLoopOutcome
impl Freeze for AgentLoopOutcome
impl Move for AgentLoopOutcome
impl Send for AgentLoopOutcome
impl Sync for AgentLoopOutcome
impl Unpin for AgentLoopOutcome
impl UnsafeUnpin for AgentLoopOutcome
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more