pub enum ActivityOutcome {
ProcessInput {
turn_id: Option<TurnId>,
},
Reason(Box<ReasonResult>),
Act(ActOutcome),
}Expand description
Typed, parsed activity output the engine plans the next step from.
The host parses the raw serialized activity output into this before calling
plan_next_turn; unknown activity kinds are rejected by the host, so the
engine stays total.
Variants§
Auto Trait Implementations§
impl Freeze for ActivityOutcome
impl RefUnwindSafe for ActivityOutcome
impl Send for ActivityOutcome
impl Sync for ActivityOutcome
impl Unpin for ActivityOutcome
impl UnsafeUnpin for ActivityOutcome
impl UnwindSafe for ActivityOutcome
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