pub struct Spawn {
pub program: String,
pub args: Vec<String>,
pub env_inherit: bool,
pub env_set: Vec<(String, String)>,
pub cwd: Option<String>,
pub io: Io,
pub timeout_ms: Option<u64>,
}Fields§
§program: String§args: Vec<String>§env_inherit: bool§env_set: Vec<(String, String)>§cwd: Option<String>§io: Io§timeout_ms: Option<u64>Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Spawn
impl<'de> Deserialize<'de> for Spawn
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
impl Eq for Spawn
impl StructuralPartialEq for Spawn
Auto Trait Implementations§
impl Forget for Spawn
impl Freeze for Spawn
impl RefUnwindSafe for Spawn
impl Send for Spawn
impl Sync for Spawn
impl Unpin for Spawn
impl UnsafeUnpin for Spawn
impl UnwindSafe for Spawn
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