pub enum ChildTerminalResolveResult {
Matched(Vec<Event>),
Exhausted,
Mismatch {
found: FoundEventDescriptor,
},
}Expand description
Outcome of asking the cursor for the recorded terminal outcome of one awaited child workflow.
AwaitChild is keyed by the child workflow id rather than a positional correlation key, so its
mismatch variant carries only the found-event descriptor; the resolver supplies the awaited
child identity in its diagnostics.
Variants§
Matched(Vec<Event>)
The awaited child’s recorded terminal event was consumed.
Exhausted
The cursor has no remaining recorded event to consider.
Mismatch
The next matchable recorded event is not the awaited child’s terminal outcome.
Fields
§
found: FoundEventDescriptorDescriptor for the recorded event actually at the cursor position.
Trait Implementations§
Source§impl Clone for ChildTerminalResolveResult
impl Clone for ChildTerminalResolveResult
Source§fn clone(&self) -> ChildTerminalResolveResult
fn clone(&self) -> ChildTerminalResolveResult
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 moreSource§impl Debug for ChildTerminalResolveResult
impl Debug for ChildTerminalResolveResult
impl StructuralPartialEq for ChildTerminalResolveResult
Auto Trait Implementations§
impl Freeze for ChildTerminalResolveResult
impl RefUnwindSafe for ChildTerminalResolveResult
impl Send for ChildTerminalResolveResult
impl Sync for ChildTerminalResolveResult
impl Unpin for ChildTerminalResolveResult
impl UnsafeUnpin for ChildTerminalResolveResult
impl UnwindSafe for ChildTerminalResolveResult
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