enum Phase {
Initial,
ReapingPanes,
DrainingPool,
}Expand description
State of one in-flight window-cleanup-cascade saga.
Variants§
Initial
Saga just constructed — waiting for the coordinator to call
start. The first start call transitions to ReapingPanes
and emits the IssueCmd for ReapPanes.
ReapingPanes
ReapPanes has been issued; waiting for any
Event::PanesReaped that matches our window label.
DrainingPool
DrainPoolIfLast has been issued; waiting for either
Event::PoolDrained or Event::PoolNotLast. Both are
terminal — the saga doesn’t care WHICH branch fires, only
that ONE of them does.
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