pub struct ToolTerminalCommitHandoff { /* private fields */ }Expand description
Retained terminal tool evidence after a database commit failure.
Debug output excludes tool result/error payloads. Retrying this handoff never calls the tool again.
Implementations§
Source§impl ToolTerminalCommitHandoff
impl ToolTerminalCommitHandoff
Sourcepub const fn kind(&self) -> ToolAttemptTerminalKind
pub const fn kind(&self) -> ToolAttemptTerminalKind
Returns result/error classification without exposing payload content.
Sourcepub const fn fence(&self) -> &RunFence
pub const fn fence(&self) -> &RunFence
Returns the worker fence currently attached to terminal evidence.
Sourcepub fn rebind_fence(
self,
fence: RunFence,
) -> Result<Self, InvocationAttemptHandoffError>
pub fn rebind_fence( self, fence: RunFence, ) -> Result<Self, InvocationAttemptHandoffError>
Rebinds retained evidence to a newer live fence in the same run.
This changes no result/error bytes and never calls the tool again. The durable store validates current fence ownership at commit time.
§Errors
Rejects a fence from another tenant or run.
Trait Implementations§
Source§impl Clone for ToolTerminalCommitHandoff
impl Clone for ToolTerminalCommitHandoff
Auto Trait Implementations§
impl !RefUnwindSafe for ToolTerminalCommitHandoff
impl !UnwindSafe for ToolTerminalCommitHandoff
impl Forget for ToolTerminalCommitHandoff
impl Freeze for ToolTerminalCommitHandoff
impl Move for ToolTerminalCommitHandoff
impl Send for ToolTerminalCommitHandoff
impl Sync for ToolTerminalCommitHandoff
impl Unpin for ToolTerminalCommitHandoff
impl UnsafeUnpin for ToolTerminalCommitHandoff
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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