struct ApplyOutcome {
in_flight: bool,
awaiting_step: Option<u32>,
}Expand description
LSD-2 — outcome of apply_action. Combines the prior bool (is
the saga still in flight?) with the new awaiting_step book-
keeping the coordinator needs to call LauncherSagaLog::finish_step
when the awaited bus event lands.
Fields§
§in_flight: bool§awaiting_step: Option<u32>If the action was an IssueCmd, the step index it allocated;
the coordinator parks this on the InFlightSaga. None for
Wait / Done / Failed.
Implementations§
Source§impl ApplyOutcome
impl ApplyOutcome
fn in_flight_awaiting(step_index: u32) -> Self
fn in_flight_no_change() -> Self
fn terminated() -> Self
Trait Implementations§
Source§impl Clone for ApplyOutcome
impl Clone for ApplyOutcome
Source§fn clone(&self) -> ApplyOutcome
fn clone(&self) -> ApplyOutcome
Returns a duplicate of the value. Read more
1.0.0 · 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 ApplyOutcome
impl Debug for ApplyOutcome
impl Copy for ApplyOutcome
Auto Trait Implementations§
impl Freeze for ApplyOutcome
impl RefUnwindSafe for ApplyOutcome
impl Send for ApplyOutcome
impl Sync for ApplyOutcome
impl Unpin for ApplyOutcome
impl UnwindSafe for ApplyOutcome
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