pub enum TaskSupportMode {
Forbidden,
Optional,
Required,
}Expand description
Task support mode for tool execution (MCP 2025-11-25)
Indicates whether this tool supports task-augmented execution. This allows clients to handle long-running operations through polling the task system.
Variants§
Forbidden
Tool does not support task-augmented execution (default when absent)
Optional
Tool may support task-augmented execution
Required
Tool requires task-augmented execution
Trait Implementations§
Source§impl Clone for TaskSupportMode
impl Clone for TaskSupportMode
Source§fn clone(&self) -> TaskSupportMode
fn clone(&self) -> TaskSupportMode
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 TaskSupportMode
impl Debug for TaskSupportMode
Source§impl Default for TaskSupportMode
impl Default for TaskSupportMode
Source§fn default() -> TaskSupportMode
fn default() -> TaskSupportMode
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for TaskSupportMode
impl<'de> Deserialize<'de> for TaskSupportMode
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 Hash for TaskSupportMode
impl Hash for TaskSupportMode
Source§impl PartialEq for TaskSupportMode
impl PartialEq for TaskSupportMode
Source§impl Serialize for TaskSupportMode
impl Serialize for TaskSupportMode
impl Copy for TaskSupportMode
impl Eq for TaskSupportMode
impl StructuralPartialEq for TaskSupportMode
Auto Trait Implementations§
impl Freeze for TaskSupportMode
impl RefUnwindSafe for TaskSupportMode
impl Send for TaskSupportMode
impl Sync for TaskSupportMode
impl Unpin for TaskSupportMode
impl UnwindSafe for TaskSupportMode
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.