Skip to main content

Crate rightkit_process

Crate rightkit_process 

Source
Expand description

OwnedCommand::inherit_handles_only restricts inheritance to caller handles/fds plus stdio; Windows requires windows_spawn_config for opaque Command settings.

Structs§

Ack
Handed to the watched party; calling Ack::done proves it is alive.
AdoptedProcess
Cooldown
Minimum spacing between expensive actions (HeardRight samples stacks at most once a minute). Pure; the caller supplies now.
Generation
HealthPolicy
HealthTracker
JobAssignmentFailure
Every failed assignment in a best-effort Windows spawn is retained.
OwnedChild
OwnedCommand
ProcessHandle
An independent exit reader. On Unix it shares std’s cached reap state; on Windows it owns a duplicated process handle, never a borrowed handle value. Keeping this reader alive does not keep an owned process tree alive.
RestartPermit
RestartPolicy
RestartTracker
StallConfig
StallWatchdog
A running watchdog. Dropping it stops and joins the thread.
StderrTail
A background drain of one stderr stream. Keeps the most recent lines whose total size is at most max_bytes; older lines fall off the front.
TerminationOptions

Enums§

HealthOutcome
HealthProbe
JobAssignmentMode
ReapOutcome
RestartMode
RestartOutcome
StallEvent
UnixContainment
WaitOutcome

Constants§

DEFAULT_ENV_ALLOWLIST

Type Aliases§

RawHandleOrFd