Skip to main content

TerminalOutcome

Type Alias TerminalOutcome 

Source
pub type TerminalOutcome<A> = Result<Exit<A>, Crash>;
Expand description

The authoritative terminal fact for one exact actor incarnation.

Successful lifecycle classification and execution failure are disjoint outcomes. Keeping the complete sum intact prevents compositions from reconstructing provenance from a stop verdict, address reuse, or an adjacent diagnostic.

Aliased Type§

pub enum TerminalOutcome<A> {
    Ok(Exit<A>),
    Err(Crash),
}

Variants§

§1.0.0

Ok(Exit<A>)

Contains the success value

§1.0.0

Err(Crash)

Contains the error value