pub struct SandboxResult {
pub stdout: String,
pub exit_code: i32,
pub truncated: bool,
pub indexed: bool,
}Expand description
Result of a sandbox execution.
Fields§
§stdout: StringCaptured stdout (the only thing that enters the context window).
exit_code: i32Process exit code.
truncated: boolWhether output was truncated due to max_output_bytes.
indexed: boolTrue if output was indexed into FTS5 due to size + intent filtering.
Trait Implementations§
Source§impl Clone for SandboxResult
impl Clone for SandboxResult
Source§fn clone(&self) -> SandboxResult
fn clone(&self) -> SandboxResult
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for SandboxResult
impl RefUnwindSafe for SandboxResult
impl Send for SandboxResult
impl Sync for SandboxResult
impl Unpin for SandboxResult
impl UnsafeUnpin for SandboxResult
impl UnwindSafe for SandboxResult
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