enum Phase {
Initial,
WaitingForRefill,
}Expand description
State of one in-flight pool-respawn saga.
Variants§
Initial
Saga just constructed — waiting for the coordinator to call
start. The first start call transitions to
WaitingForRefill and emits the IssueCmd for
SpawnPoolWindow.
WaitingForRefill
SpawnPoolWindow has been issued; the saga is now waiting for
any Event::PoolWindowAdded to land on the bus. The label
of the new pool entry doesn’t need to match the promoted
label — the refill produces a new label, and any
PoolWindowAdded that lands AFTER the saga was constructed
is the refill we’re tracking.
Trait Implementations§
impl Eq for Phase
impl StructuralPartialEq for Phase
Auto Trait Implementations§
impl Freeze for Phase
impl RefUnwindSafe for Phase
impl Send for Phase
impl Sync for Phase
impl Unpin for Phase
impl UnwindSafe for Phase
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more