pub struct ProcessExecutorConfig {
pub executable: PathBuf,
pub arguments: Vec<String>,
pub working_directory: Option<PathBuf>,
pub environment: BTreeMap<String, String>,
pub timeout: Duration,
pub message_limit: usize,
}Expand description
Explicit process execution policy.
Fields§
§executable: PathBufExecutable path; no shell interpretation is performed.
arguments: Vec<String>Exact argument vector.
working_directory: Option<PathBuf>Optional child working directory.
environment: BTreeMap<String, String>Complete allowed child environment after ambient clearing.
timeout: DurationMaximum time for one request process.
message_limit: usizeMaximum encoded request, stdout, or stderr bytes.
Implementations§
Trait Implementations§
Source§impl Clone for ProcessExecutorConfig
impl Clone for ProcessExecutorConfig
Auto Trait Implementations§
impl Freeze for ProcessExecutorConfig
impl RefUnwindSafe for ProcessExecutorConfig
impl Send for ProcessExecutorConfig
impl Sync for ProcessExecutorConfig
impl Unpin for ProcessExecutorConfig
impl UnsafeUnpin for ProcessExecutorConfig
impl UnwindSafe for ProcessExecutorConfig
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