pub enum ToolInvocationStage {
Unknown,
RejectedBeforeDispatch,
RejectedBeforeIo,
Dispatched,
Replayed,
}Expand description
Where an invocation reached in the common execution pipeline.
This is deliberately orthogonal to ToolOutcomeStatus. A deterministic
argument rejection can be a completed validation observation, but it did
not dispatch the requested domain operation and therefore cannot inherit
that operation’s effects, targets, or evidence capabilities.
Variants§
Unknown
Legacy receipt or adapter that did not report a stage.
RejectedBeforeDispatch
The common policy/retry boundary refused dispatch.
RejectedBeforeIo
The adapter rejected its typed argument contract before domain I/O.
Dispatched
The adapter was invoked for the prepared operation.
Replayed
The result was reconstructed from a durable prior receipt.
Implementations§
Source§impl ToolInvocationStage
impl ToolInvocationStage
pub const fn as_str(self) -> &'static str
pub const fn reached_dispatch(self) -> bool
Sourcepub const fn performed_io(self) -> bool
pub const fn performed_io(self) -> bool
True only for a newly executed adapter call. A durable replay carries evidence forward but does not consume another operation attempt.
Trait Implementations§
Source§impl Clone for ToolInvocationStage
impl Clone for ToolInvocationStage
Source§fn clone(&self) -> ToolInvocationStage
fn clone(&self) -> ToolInvocationStage
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreimpl Copy for ToolInvocationStage
Source§impl Debug for ToolInvocationStage
impl Debug for ToolInvocationStage
Source§impl Default for ToolInvocationStage
impl Default for ToolInvocationStage
Source§fn default() -> ToolInvocationStage
fn default() -> ToolInvocationStage
Source§impl<'de> Deserialize<'de> for ToolInvocationStage
impl<'de> Deserialize<'de> for ToolInvocationStage
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<ToolInvocationStage, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<ToolInvocationStage, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
impl Eq for ToolInvocationStage
Source§impl PartialEq for ToolInvocationStage
impl PartialEq for ToolInvocationStage
Source§impl Serialize for ToolInvocationStage
impl Serialize for ToolInvocationStage
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
impl StructuralPartialEq for ToolInvocationStage
Auto Trait Implementations§
impl Forget for ToolInvocationStage
impl Freeze for ToolInvocationStage
impl Move for ToolInvocationStage
impl RefUnwindSafe for ToolInvocationStage
impl Send for ToolInvocationStage
impl Sync for ToolInvocationStage
impl Unpin for ToolInvocationStage
impl UnsafeUnpin for ToolInvocationStage
impl UnwindSafe for ToolInvocationStage
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
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> ⓘ
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> ⓘ
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