pub struct ExecutionRequest {
pub command: CommandSpec,
pub cwd: Option<BackendPath>,
pub env: BTreeMap<String, String>,
pub env_remove: Vec<String>,
pub stdin: Option<Vec<u8>>,
pub keep_stdin: bool,
}Fields§
§command: CommandSpec§cwd: Option<BackendPath>§env: BTreeMap<String, String>§env_remove: Vec<String>§stdin: Option<Vec<u8>>§keep_stdin: boolLeave the process’s stdin open for the caller to write to over its
life (SpawnedProcess::take_stdin), after stdin when given. A
backend that cannot keep a pipe open spawns as without it, and
take_stdin returns None.
Implementations§
Trait Implementations§
Source§impl Clone for ExecutionRequest
impl Clone for ExecutionRequest
Auto Trait Implementations§
impl Forget for ExecutionRequest
impl Freeze for ExecutionRequestwhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
PhantomData<String>: Freeze,
*const LeafNode<String, String> is !null: Freeze,
PhantomData<(Owned, LeafOrInternal)>: Freeze,
PhantomData<Box<(String, String)>>: Freeze,
impl Move for ExecutionRequest
impl RefUnwindSafe for ExecutionRequest
impl Send for ExecutionRequest
impl Sync for ExecutionRequest
impl Unpin for ExecutionRequest
impl UnsafeUnpin for ExecutionRequestwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
*const LeafNode<String, String> is !null: UnsafeUnpin,
PhantomData<(Owned, LeafOrInternal)>: UnsafeUnpin,
PhantomData<Box<(String, String)>>: UnsafeUnpin,
impl UnwindSafe for ExecutionRequest
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