pub enum TurnEnd {
Outcome(Outcome),
Compact {
spec: Option<SpecDigest>,
},
}Expand description
How a turn task ended: with a user-facing outcome, or asking the actor to compact and respawn a continuation (M2 mid-turn = terminate → compact → respawn, per commit-protocol).
Variants§
Outcome(Outcome)
Compact
Compact, folding with the speculative digest when the turn managed to
precompute one — None falls back to the inline summarize.
Fields
§
spec: Option<SpecDigest>Trait Implementations§
Auto Trait Implementations§
impl Freeze for TurnEnd
impl RefUnwindSafe for TurnEnd
impl Send for TurnEnd
impl Sync for TurnEnd
impl Unpin for TurnEnd
impl UnsafeUnpin for TurnEnd
impl UnwindSafe for TurnEnd
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