struct McpTaskStartResponse {
task_id: String,
operation: McpTaskOperation,
state: McpTaskState,
status_tool: &'static str,
cancel_tool: &'static str,
}Expand description
Immediate response for one accepted background indexing task.
Fields§
§task_id: StringOpaque session-local task id.
operation: McpTaskOperationAccepted operation family.
state: McpTaskStateInitial task state.
status_tool: &'static strExisting MCP tool used to poll the task.
cancel_tool: &'static strExisting MCP tool used to request cancellation.
Trait Implementations§
Source§impl Debug for McpTaskStartResponse
impl Debug for McpTaskStartResponse
Auto Trait Implementations§
impl Freeze for McpTaskStartResponse
impl RefUnwindSafe for McpTaskStartResponse
impl Send for McpTaskStartResponse
impl Sync for McpTaskStartResponse
impl Unpin for McpTaskStartResponse
impl UnwindSafe for McpTaskStartResponse
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more