pub struct UnixProcessConfig {
pub name: String,
pub binary_path: PathBuf,
pub args: Vec<String>,
pub env: HashMap<String, String>,
}Expand description
Configuration for a Unix process to spawn.
Fields§
§name: StringDisplay name used for logs and reporting.
binary_path: PathBufAbsolute path to the binary to execute.
args: Vec<String>Arguments passed to the binary.
env: HashMap<String, String>Environment variables to set for the process.
Implementations§
Source§impl UnixProcessConfig
impl UnixProcessConfig
Trait Implementations§
Source§impl Clone for UnixProcessConfig
impl Clone for UnixProcessConfig
Source§fn clone(&self) -> UnixProcessConfig
fn clone(&self) -> UnixProcessConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for UnixProcessConfig
impl RefUnwindSafe for UnixProcessConfig
impl Send for UnixProcessConfig
impl Sync for UnixProcessConfig
impl Unpin for UnixProcessConfig
impl UnsafeUnpin for UnixProcessConfig
impl UnwindSafe for UnixProcessConfig
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more