pub struct SandboxHostSupport {
pub capabilities: Vec<SandboxHostCapability>,
pub reason: Option<String>,
pub supported: bool,
}Expand description
Whether the host running this runtime can run the command sandbox. The runtime checks supported once per process. A capability answer can change while the process runs, for example after the user installs a missing package.
Experimental. This type is part of an experimental wire-protocol surface and may change or be removed in future SDK or CLI releases.
Fields§
§capabilities: Vec<SandboxHostCapability>Sandbox policy features whose availability varies between hosts that can run the backend. Empty when supported is false, because no feature can run without a backend. Later runtimes can add entries; ignore an entry whose name you do not recognize.
reason: Option<String>Human-readable reason the sandbox cannot run on this host. Present only when supported is false.
supported: boolWhether a process-containment backend is usable on this host: Seatbelt on macOS, Bubblewrap on Linux, or ProcessContainer on Windows.