pub struct Launch {
pub program: PathBuf,
pub args: Vec<OsString>,
pub cwd: PathBuf,
pub timeout: Duration,
pub output_limit: usize,
}Expand description
One resolved program to run: its path, its arguments and its working directory.
Fields§
§program: PathBuf§args: Vec<OsString>§cwd: PathBuf§timeout: DurationHow long the program may run before it and its children are killed.
output_limit: usizeHow many bytes of each output stream are kept; more sets truncated.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Launch
impl RefUnwindSafe for Launch
impl Send for Launch
impl Sync for Launch
impl Unpin for Launch
impl UnsafeUnpin for Launch
impl UnwindSafe for Launch
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