Expand description
Sandbox abstraction (feature sandbox): a session that reads and writes
files and runs commands on behalf of tools.
Only the trait and LocalProcessSandbox (which offers no isolation
and exists for tests and examples) live here; real sandboxes are provided
by applications or separate crates.
Structs§
- Local
Process Sandbox - A
Sandboxbacked by the local file system and shell. - Process
Options - Options for running a command.
- Process
Result - Result of a completed command.
- Read
File Options - Options for reading a file.
- Read
Text File Options - Options for reading a text file.
- Write
File Options - Options for writing a file;
Cis the payload type.
Traits§
- Sandbox
- A sandbox session.
- Sandbox
Process - A running process started with
Sandbox::spawn.
Type Aliases§
- Byte
Stream - Byte stream of file or process output.