pub struct Launch {
pub argv: Vec<OsString>,
pub cwd: PathBuf,
pub env: BTreeMap<String, String>,
pub remove_env: Vec<String>,
}Expand description
How to start the process (worked out on the start thread: it may build a venv).
Fields§
§argv: Vec<OsString>Program and arguments.
cwd: PathBuf§env: BTreeMap<String, String>Added to the inherited environment.
remove_env: Vec<String>Removed from it.
Trait Implementations§
Auto Trait Implementations§
impl Forget for Launch
impl Freeze for Launchwhere
*const u8 is !null: Freeze,
PhantomData<OsString>: Freeze,
PhantomData<u8>: Freeze,
*const LeafNode<String, String> is !null: Freeze,
PhantomData<(Owned, LeafOrInternal)>: Freeze,
PhantomData<Box<(String, String)>>: Freeze,
PhantomData<String>: Freeze,
impl Move for Launch
impl RefUnwindSafe for Launch
impl Send for Launch
impl Sync for Launch
impl Unpin for Launch
impl UnsafeUnpin for Launchwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<OsString>: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
*const LeafNode<String, String> is !null: UnsafeUnpin,
PhantomData<(Owned, LeafOrInternal)>: UnsafeUnpin,
PhantomData<Box<(String, String)>>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
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