pub struct TransitionOutput {
pub from_state: LoopState,
pub trigger: LoopTrigger,
pub guard: TransitionGuard,
pub events: Vec<LoopEventKind>,
pub journal_records: Vec<JournalRecordKind>,
pub checkpoint_policy: CheckpointPolicy,
pub side_effect_policy: SideEffectPolicy,
pub next_state: LoopState,
pub terminal_result: Option<LoopTerminalResult>,
pub recovery_classification: Option<RecoveryClassification>,
}Expand description
Holds transition output application-layer state or configuration. Use it with the documented coordinator methods; run, journal, event, provider, or port effects are called out on those methods rather than on construction.
Fields§
§from_state: LoopStateFrom state used by this record or request.
trigger: LoopTriggerTrigger used by this record or request.
guard: TransitionGuardGuard used by this record or request.
events: Vec<LoopEventKind>Bounded events included in this record. Limits and truncation are represented by companion metadata when applicable.
journal_records: Vec<JournalRecordKind>Journal record kinds produced by this capability or feature. Use them to keep replay and recovery fixtures aligned with the public contract.
checkpoint_policy: CheckpointPolicyCheckpoint policy used by this record or request.
side_effect_policy: SideEffectPolicySide effect policy used by this record or request.
next_state: LoopStateNext state used by this record or request.
terminal_result: Option<LoopTerminalResult>Optional terminal result value. When absent, callers should use the documented default or skip that optional behavior.
recovery_classification: Option<RecoveryClassification>Optional recovery classification value. When absent, callers should use the documented default or skip that optional behavior.
Trait Implementations§
Source§impl Clone for TransitionOutput
impl Clone for TransitionOutput
Source§fn clone(&self) -> TransitionOutput
fn clone(&self) -> TransitionOutput
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for TransitionOutput
impl Debug for TransitionOutput
Source§impl<'de> Deserialize<'de> for TransitionOutput
impl<'de> Deserialize<'de> for TransitionOutput
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>,
Source§impl PartialEq for TransitionOutput
impl PartialEq for TransitionOutput
Source§fn eq(&self, other: &TransitionOutput) -> bool
fn eq(&self, other: &TransitionOutput) -> bool
self and other values to be equal, and is used by ==.