Skip to main content

SandboxResult

Defined in the sandbox module.
Rust AI Agent SDK Result of a sandbox execution.

Fields

Methods

new

Create a new sandbox result.

success

Check if execution was successful.

output

Get combined output (stdout + stderr).

start

Mark as started.

complete

Mark as completed. Parameters:

fail

Mark as failed. Parameters:

timeout

Mark as timed out.

Source

View on GitHub

praisonai/src/sandbox/mod.rs at line 191

Rust Database

Rust Sandbox

Rust Code Execution