pub enum TaskSupport {
Forbidden,
Optional,
Required,
}Expand description
Task support mode for tools (MCP 2025-11-25)
Variants§
Forbidden
Tool does not support task-based execution
Optional
Tool optionally supports task-based execution
Required
Tool requires task-based execution
Trait Implementations§
Source§impl Clone for TaskSupport
impl Clone for TaskSupport
Source§fn clone(&self) -> TaskSupport
fn clone(&self) -> TaskSupport
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TaskSupport
impl Debug for TaskSupport
Source§impl Default for TaskSupport
impl Default for TaskSupport
Source§impl<'de> Deserialize<'de> for TaskSupport
impl<'de> Deserialize<'de> for TaskSupport
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 TaskSupport
impl PartialEq for TaskSupport
Source§impl Serialize for TaskSupport
impl Serialize for TaskSupport
impl Eq for TaskSupport
impl StructuralPartialEq for TaskSupport
Auto Trait Implementations§
impl Freeze for TaskSupport
impl RefUnwindSafe for TaskSupport
impl Send for TaskSupport
impl Sync for TaskSupport
impl Unpin for TaskSupport
impl UnwindSafe for TaskSupport
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)