pub struct Invocation {
pub argv: Vec<String>,
pub cwd: PathBuf,
pub env: Vec<(String, String)>,
pub timeout: Duration,
pub output_cap: usize,
}Expand description
What to run.
Fields§
§argv: Vec<String>Program and arguments.
cwd: PathBufAbsolute working directory.
env: Vec<(String, String)>The complete child environment.
timeout: DurationDeadline for the process group.
output_cap: usizeBytes kept per stream.
Trait Implementations§
Source§impl Clone for Invocation
impl Clone for Invocation
Auto Trait Implementations§
impl Freeze for Invocation
impl RefUnwindSafe for Invocation
impl Send for Invocation
impl Sync for Invocation
impl Unpin for Invocation
impl UnsafeUnpin for Invocation
impl UnwindSafe for Invocation
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