Skip to main content

Module managed

Module managed 

Source
Expand description

Native-owned managed containment lifecycle for language bindings.

One registry owns every ContainmentGuard<Child> used by C/Go and N-API projections. Callers receive a generation-checked u64 capability token, never a PID, Rust pointer, or reusable proof of spawn.

Structs§

ManagedIdentity
ManagedSnapshot
ManagedSpawnRequest

Constants§

MAX_ARGV_ENTRIES
MAX_ARGV_ENTRY_BYTES
MAX_ARGV_TOTAL_BYTES
MAX_CWD_BYTES
MAX_DURATION_MS
MAX_ENV_ENTRIES
MAX_ENV_KEY_BYTES
MAX_ENV_TOTAL_BYTES
MAX_ENV_VALUE_BYTES
MAX_REGISTRY_SLOTS

Functions§

close
identity
poll
spawn
Spawn a sysprims-owned contained child and return a capability token.
terminate
validate_spawn_request
wait