Expand description
§process-fun-core
Core functionality for the process-fun library. This crate provides the fundamental types and functions needed to support out-of-process function execution.
This crate is not meant to be used directly - instead, use the process-fun
crate
which provides a more ergonomic API.
Modules§
Structs§
- Process
Wrapper - Wrapper for a process execution that allows awaiting or aborting the process
Enums§
- Process
FunError - Errors that can occur during process-fun operations
Functions§
- create_
pipes - Create a pipe for communication between parent and child processes
- fork_
process - Fork the current process and return ForkResult
- read_
from_ pipe - Read data from a pipe
- read_
start_ time_ from_ pipe - Read start time from pipe
- stat_
pid_ start - write_
time - Write time to pipe
- write_
to_ pipe - Write data to a pipe and close it
Type Aliases§
- FunId
- Type alias for function identifiers, represented as filesystem paths