Expand description
Process-isolation model and typed IPC for GPUI.
This module defines the shared contracts for the GPUI process model: process classes, IPC messages, supervision policies, and worker APIs. Platform-specific backends implement the actual transport and spawning.
Structs§
- Health
Check Config - Health-check configuration for a supervised process.
- Process
Id - A stable identifier for a GPUI child process.
- Process
Info - Metadata describing a running or requested child process.
- Process
Spawn Options - Spawn-time options for a supervised process.
Enums§
- Bootstrap
Message - Bootstrap message exchanged during worker initialization.
- IpcMessage
- A typed IPC message exchanged between GPUI processes.
- Process
Class - The class of a GPUI child process, which determines its capabilities and expected lifetime.
- Process
Health - The current health status of a supervised process.
- Restart
Policy - Policy controlling how the supervisor responds to child process failures.
- Supervisor
Event - Lifecycle events emitted by a process supervisor.
- Worker
Error - An error returned by a worker.
- Worker
Progress - A progress update sent from worker to host.
- Worker
Request - A request sent from host to worker.
- Worker
Response - A response sent from worker to host.
Traits§
- Supervisor
- Trait for a process supervisor that can launch, monitor, and restart child processes.
- Worker
Task - A task that can be offloaded to a worker process.