pub enum ToolExecutionTarget {
Unspecified,
ClientLocal,
ServerAgents,
}Variants§
Unspecified
ClientLocal
Tool must be executed by a connected client (TUI/VS Code).
ServerAgents
Tool is executed server-side (agents/MCP/etc). Clients must not provide outputs.
Trait Implementations§
Source§impl Clone for ToolExecutionTarget
impl Clone for ToolExecutionTarget
Source§fn clone(&self) -> ToolExecutionTarget
fn clone(&self) -> ToolExecutionTarget
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 ToolExecutionTarget
impl Debug for ToolExecutionTarget
Source§impl<'de> Deserialize<'de> for ToolExecutionTarget
impl<'de> Deserialize<'de> for ToolExecutionTarget
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for ToolExecutionTarget
impl PartialEq for ToolExecutionTarget
Source§impl Serialize for ToolExecutionTarget
impl Serialize for ToolExecutionTarget
impl Copy for ToolExecutionTarget
impl Eq for ToolExecutionTarget
impl StructuralPartialEq for ToolExecutionTarget
Auto Trait Implementations§
impl Freeze for ToolExecutionTarget
impl RefUnwindSafe for ToolExecutionTarget
impl Send for ToolExecutionTarget
impl Sync for ToolExecutionTarget
impl Unpin for ToolExecutionTarget
impl UnwindSafe for ToolExecutionTarget
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