Struct Tool Execution Intercept Outcome
Generated from cargo doc --no-deps -p nemo-relay-builtins -p nemo-relay-diagnostics -p nemo-relay-logging -p nemo-relay-plugin-host -p nemo-relay-codecs -p nemo-relay -p nemo-relay-runtime -p nemo-relay-model-pricing -p nemo-relay-resource-metrics -p nemo-relay-observability -p nemo-relay-adaptive -p nemo-relay-pii-redaction -p nemo-relay-ffi -p nemo-relay-types -p nemo-relay-plugin -p nemo-relay-worker-proto -p nemo-relay-worker.
Referenced types: Value, Option, Vec, PendingMarkSpec
Canonical result returned by a tool execution intercept.
result and annotation are returned to the remaining middleware and application. pending_marks are Relay-owned lifecycle metadata retained separately and emitted after the tool-end event.
Fields
result: Value
Tool result returned to the remaining middleware and application.
annotation: Option<Value>
Optional opaque metadata associated with the result.
pending_marks: Vec<PendingMarkSpec>
Ordered marks for the managed tool lifecycle owner to emit.
Implementations
impl ToolExecutionInterceptOutcome
Referenced types: ToolExecutionInterceptOutcome
new
Referenced types: Value, ToolExecutionInterceptOutcome
Create an outcome without pending marks.
annotated
Referenced types: Value, ToolExecutionInterceptOutcome
Create an outcome with an opaque annotation and no pending marks.
with_annotation
Referenced types: Value, ToolExecutionInterceptOutcome
Replace the opaque annotation while preserving the application result and pending marks.
without_annotation
Referenced types: ToolExecutionInterceptOutcome
Remove the annotation while preserving the application result and pending marks.
into_execution_result
Referenced types: ToolExecutionResult
Convert the intercept outcome to its application-visible result.
with_pending_mark
Referenced types: PendingMarkSpec, ToolExecutionInterceptOutcome
Append one pending mark while preserving callback order.
Trait Implementations
impl Clone for ToolExecutionInterceptOutcome
Referenced types: Clone, ToolExecutionInterceptOutcome
clone
Referenced types: clone, ToolExecutionInterceptOutcome
clone_from
Referenced types: clone_from
impl Debug for ToolExecutionInterceptOutcome
Referenced types: Debug, ToolExecutionInterceptOutcome
fmt
Referenced types: fmt, Formatter, Result, (), Error
impl<'de> Deserialize<'de> for ToolExecutionInterceptOutcome
Referenced types: Deserialize, ToolExecutionInterceptOutcome
deserialize
Referenced types: deserialize, Result, ToolExecutionInterceptOutcome, Deserializer, Error
impl From<ToolExecutionResult> for ToolExecutionInterceptOutcome
Referenced types: From, ToolExecutionResult, ToolExecutionInterceptOutcome
from
Referenced types: from, ToolExecutionResult, ToolExecutionInterceptOutcome
impl From<Value> for ToolExecutionInterceptOutcome
Referenced types: From, Value, ToolExecutionInterceptOutcome
from
Referenced types: from, Value, ToolExecutionInterceptOutcome
impl PartialEq for ToolExecutionInterceptOutcome
Referenced types: PartialEq, ToolExecutionInterceptOutcome
eq
Referenced types: eq, ToolExecutionInterceptOutcome, bool
ne
Referenced types: ne, &Rhs, bool
impl Serialize for ToolExecutionInterceptOutcome
Referenced types: Serialize, ToolExecutionInterceptOutcome
serialize
Referenced types: serialize, Result, Serializer, Ok, Error