pub enum ResolvedCommand {
Recorded {
resolution: Resolution,
recorded_at: DateTime<Utc>,
},
ResumeLive {
recorded_at: Option<DateTime<Utc>>,
},
}Expand description
Resolver outcome plus timestamp metadata for replay determinism bookkeeping.
Variants§
Recorded
The command was satisfied from recorded history without invoking live side effects.
Fields
§
resolution: ResolutionRecorded resolution returned to workflow code.
ResumeLive
Recorded history cannot fully satisfy the command; ownership must hand off live.
Trait Implementations§
Source§impl Clone for ResolvedCommand
impl Clone for ResolvedCommand
Source§fn clone(&self) -> ResolvedCommand
fn clone(&self) -> ResolvedCommand
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 ResolvedCommand
impl Debug for ResolvedCommand
Source§impl PartialEq for ResolvedCommand
impl PartialEq for ResolvedCommand
impl StructuralPartialEq for ResolvedCommand
Auto Trait Implementations§
impl Freeze for ResolvedCommand
impl RefUnwindSafe for ResolvedCommand
impl Send for ResolvedCommand
impl Sync for ResolvedCommand
impl Unpin for ResolvedCommand
impl UnsafeUnpin for ResolvedCommand
impl UnwindSafe for ResolvedCommand
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