pub enum Exit<A: Address> {
Normal,
Collected,
LinkDied(A),
SupervisionFailed(SupervisionFailureReason),
}Expand description
How a fold ends. The R parameter of the become verdict (Step<Ph, Exit>):
a Stop carries one of these; the driver also mints Collected when the
mailbox drains with no self-stop.
Variants§
Normal
Clean self-stop (Flow::Stop(Normal)’s image).
Collected
Sources exhausted — the mailbox-closed / ref-count-collection image.
LinkDied(A)
A watch layer propagated a linked peer’s death, carrying its address.
SupervisionFailed(SupervisionFailureReason)
A supervision layer stopped because it could no longer preserve its child topology.
Trait Implementations§
impl<A: Copy + Address> Copy for Exit<A>
impl<A: Eq + Address> Eq for Exit<A>
impl<A: PartialEq + Address> StructuralPartialEq for Exit<A>
Auto Trait Implementations§
impl<A> Freeze for Exit<A>where
A: Freeze,
impl<A> RefUnwindSafe for Exit<A>where
A: RefUnwindSafe,
impl<A> Send for Exit<A>where
A: Send,
impl<A> Sync for Exit<A>where
A: Sync,
impl<A> Unpin for Exit<A>where
A: Unpin,
impl<A> UnsafeUnpin for Exit<A>where
A: UnsafeUnpin,
impl<A> UnwindSafe for Exit<A>where
A: UnwindSafe,
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