Structs§
- Async
Sandbox - Async wrapper around a Hanzo VM VM sandbox.
- DirEntry
- Exec
Result - Result of executing a command in the VM.
- Expose
Host Mapping - A host port exposed to the guest via host.vm.internal.
- Guest
Stream - A raw bidirectional byte stream to a TCP port inside the guest,
established via
AsyncSandbox::dial_guest. - Mount
Config - Network
Config - Network access policy.
- Proxy
Config - Configuration for the proxy engine.
- Read
DirResponse - Sandbox
Config - Configuration for booting a sandbox VM.
- Secret
Config - A secret that the proxy injects into HTTP requests.
- Shell
Handle - Handle to an interactive shell session with PTY support.
- Shell
Reader - Reader half of a shell session. Receives output events asynchronously.
- Shell
Writer - Writer half of a shell session. Cloneable — used to send input and resize.
- Stat
Response - Watch
Event - A filesystem watch event. Binary format:
[u8 kind][path bytes...] - Watch
Handle - Handle to a filesystem watch session. Drop to stop watching.
- Watch
Receiver - Reader half of a file watch session. Receives filesystem events asynchronously.
Enums§
- Shell
Event - Events from an interactive shell session.
- Storage
Mode - Storage backend for the VM’s root disk.
Functions§
- default_
data_ dir HANZO_VM_HOME, else~/.hanzo/vm.