pub enum GoalContext {
None,
Goal,
BackgroundDelivery,
MandateRun,
}Expand description
Which goal facts a call receives (see
ToolDispatchFacts::goal_context).
Variants§
None
None.
Goal
The goal the run works for.
BackgroundDelivery
The goal, found through the executor’s task when the run carries only a task: the call’s background notifications go to the goal’s own session, since a child agent’s session is not routable.
MandateRun
The goal and, in a mandate run, the run’s mandate fence (goal run, attempt, mandate and version).
Trait Implementations§
Source§impl Clone for GoalContext
impl Clone for GoalContext
impl Copy for GoalContext
Source§impl Debug for GoalContext
impl Debug for GoalContext
Source§impl Default for GoalContext
impl Default for GoalContext
impl Eq for GoalContext
Source§impl PartialEq for GoalContext
impl PartialEq for GoalContext
impl StructuralPartialEq for GoalContext
Auto Trait Implementations§
impl Forget for GoalContext
impl Freeze for GoalContext
impl Move for GoalContext
impl RefUnwindSafe for GoalContext
impl Send for GoalContext
impl Sync for GoalContext
impl Unpin for GoalContext
impl UnsafeUnpin for GoalContext
impl UnwindSafe for GoalContext
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