pub enum UtilityAction {
Respond,
Retrieve,
ToolCall,
Verify,
Stop,
}Expand description
Recommended action from the utility policy (arXiv:2603.19896, §4.2).
Variants§
Respond
Generate a text response without executing the proposed tool.
Retrieve
Retrieve additional context (memory search, RAG, graph recall) before responding.
ToolCall
Execute the proposed tool call.
Verify
Verify the previous tool result before proceeding.
Stop
Stop the tool loop entirely (budget exhausted or loop limit).
Trait Implementations§
Source§impl Clone for UtilityAction
impl Clone for UtilityAction
Source§fn clone(&self) -> UtilityAction
fn clone(&self) -> UtilityAction
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for UtilityAction
impl Debug for UtilityAction
Source§impl PartialEq for UtilityAction
impl PartialEq for UtilityAction
impl Copy for UtilityAction
impl Eq for UtilityAction
impl StructuralPartialEq for UtilityAction
Auto Trait Implementations§
impl Freeze for UtilityAction
impl RefUnwindSafe for UtilityAction
impl Send for UtilityAction
impl Sync for UtilityAction
impl Unpin for UtilityAction
impl UnsafeUnpin for UtilityAction
impl UnwindSafe for UtilityAction
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