pub enum AgentOutcome {
Applied(EvalResult),
CausalReject(CausalViolation),
Pending(PendingReason),
Buffered,
EvalError(EvalError),
}Expand description
Outcome of Agent::evaluate_and_apply (REQ-231 fail-closed contract).
Variants§
Applied(EvalResult)
Causal verification succeeded (or was not applicable) and the message was evaluated, with effects applied to the agent.
CausalReject(CausalViolation)
Causal protocol violation; message was not evaluated.
Pending(PendingReason)
Predecessor not yet in the local store under UnknownPredecessorPolicy::Reject;
senders should retry once the predecessor arrives.
Buffered
Predecessor not yet in the local store under UnknownPredecessorPolicy::Buffer;
the agent has enqueued the message for later re-evaluation.
EvalError(EvalError)
Evaluator failure (template expansion, unknown performative, etc.).
Trait Implementations§
Source§impl Clone for AgentOutcome
impl Clone for AgentOutcome
Source§impl Debug for AgentOutcome
impl Debug for AgentOutcome
impl Eq for AgentOutcome
Source§impl PartialEq for AgentOutcome
impl PartialEq for AgentOutcome
impl StructuralPartialEq for AgentOutcome
Auto Trait Implementations§
impl Forget for AgentOutcome
impl Freeze for AgentOutcomewhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
PhantomData<SExpr>: Freeze,
PhantomData<Effect>: Freeze,
PhantomData<String>: Freeze,
impl Move for AgentOutcome
impl RefUnwindSafe for AgentOutcome
impl Send for AgentOutcomewhere
RawVecInner: Send,
impl Sync for AgentOutcomewhere
RawVecInner: Sync,
impl Unpin for AgentOutcome
impl UnsafeUnpin for AgentOutcomewhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<SExpr>: UnsafeUnpin,
PhantomData<Effect>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
impl UnwindSafe for AgentOutcomewhere
RawVecInner: 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