Skip to main content

Crate mobench_process

Crate mobench_process 

Source
Expand description

Declared executable provenance and bounded child-process policy.

Structs§

CapturedStream
Bounded output captured from one child stream.
DeclaredExecutable
An executable whose selection source is explicit in the type.
IncompleteOutputError
A captured child stream was not a complete machine-readable value.
ProcessCancellation
Thread-safe cooperative process cancellation signal.
ProcessLimits
Output and wall-clock bounds for one child process.
ProcessOutcome
Structured result from a child that was successfully spawned and reaped.
ProcessRunner
Synchronous bounded child-process runner.
ProcessSpec
Complete specification for one bounded child-process invocation.

Enums§

CaptureRetention
Which portions of an oversized captured stream are retained.
EnvironmentPolicy
Explicit policy for the child process environment.
ExecutablePolicyError
Executable-selection policy failure.
ExecutableProvenance
Provenance attached to a child-process executable.
IncompleteOutputReason
Why captured output cannot be treated as complete.
OutputStreamPolicy
Explicit policy for one child output stream.
ProcessRunError
Structured failure while starting, supervising, or capturing a child.
ProcessStream
Identifies one captured child stream in structured errors.
StdinPolicy
Explicit policy for the child process standard input stream.
WorkingDirectoryPolicy
Explicit policy for the child process working directory.

Constants§

DEFAULT_DRAIN_GRACE
Default time allowed to collect pipe data after process-scope termination.

Functions§

global_cancellation_token
Return the process-wide token used by ProcessRunner::run.