pub struct McpCallControl {
pub cancellation: CancellationToken,
pub deadline: Instant,
}Expand description
Caller-owned cancellation and deadline for one MCP operation.
Fields§
§cancellation: CancellationTokenCancellation propagated from the Agent execution.
deadline: InstantAbsolute operation deadline.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for McpCallControl
impl RefUnwindSafe for McpCallControl
impl Send for McpCallControl
impl Sync for McpCallControl
impl Unpin for McpCallControl
impl UnsafeUnpin for McpCallControl
impl UnwindSafe for McpCallControl
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