Crate process_fun_core

Source
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§

ser
sys

Structs§

ProcessWrapper
Wrapper for a process execution that allows awaiting or aborting the process

Enums§

ProcessFunError
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