pub struct ToolDispatchHandoff { /* private fields */ }Expand description
Fresh durable tool start retained for exactly one provider dispatch.
This type exists so a trusted coordinator can serialize multiple start facts, overlap only policy-safe provider calls, and then serialize retained terminal evidence in semantic order. Dropping it never calls a provider, but leaves the durable attempt executing for higher-fence recovery.
Implementations§
Source§impl ToolDispatchHandoff
impl ToolDispatchHandoff
Sourcepub const fn invocation(&self) -> &ToolInvocation
pub const fn invocation(&self) -> &ToolInvocation
Returns the fresh executing invocation revision.
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for ToolDispatchHandoff
impl !UnwindSafe for ToolDispatchHandoff
impl Forget for ToolDispatchHandoff
impl Freeze for ToolDispatchHandoff
impl Move for ToolDispatchHandoff
impl Send for ToolDispatchHandoff
impl Sync for ToolDispatchHandoff
impl Unpin for ToolDispatchHandoff
impl UnsafeUnpin for ToolDispatchHandoff
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<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§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