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 Forget for Launch
impl Freeze for Launch
impl Move for Launch
impl RefUnwindSafe for Launch
impl Send for Launchwhere
RawVecInner: Send,
impl Sync for Launchwhere
RawVecInner: Sync,
impl Unpin for Launch
impl UnsafeUnpin for Launchwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<OsString>: UnsafeUnpin,
impl UnwindSafe for Launchwhere
RawVecInner: UnwindSafe,
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