pub struct SpawnInGroupConfig {
pub argv: Vec<String>,
pub cwd: Option<String>,
pub env: Option<BTreeMap<String, String>>,
}Expand description
Configuration for spawn_in_group.
Fields§
§argv: Vec<String>argv[0] is the command, argv[1..] are args.
cwd: Option<String>Optional working directory.
env: Option<BTreeMap<String, String>>Environment variable overrides/additions.
By default the child inherits the parent’s environment.
Trait Implementations§
Source§impl Clone for SpawnInGroupConfig
impl Clone for SpawnInGroupConfig
Source§fn clone(&self) -> SpawnInGroupConfig
fn clone(&self) -> SpawnInGroupConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SpawnInGroupConfig
impl Debug for SpawnInGroupConfig
Source§impl<'de> Deserialize<'de> for SpawnInGroupConfig
impl<'de> Deserialize<'de> for SpawnInGroupConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for SpawnInGroupConfig
impl RefUnwindSafe for SpawnInGroupConfig
impl Send for SpawnInGroupConfig
impl Sync for SpawnInGroupConfig
impl Unpin for SpawnInGroupConfig
impl UnsafeUnpin for SpawnInGroupConfig
impl UnwindSafe for SpawnInGroupConfig
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