pub struct ChildSpec {
pub program: String,
pub args: Vec<String>,
pub cwd: Option<PathBuf>,
pub env: BTreeMap<String, String>,
pub stdout: PathBuf,
pub stderr: PathBuf,
pub exit: PathBuf,
pub pid: PathBuf,
}Expand description
Everything the child wrapper needs; written as JSON into the job directory.
Fields§
§program: String§args: Vec<String>§cwd: Option<PathBuf>§env: BTreeMap<String, String>§stdout: PathBuf§stderr: PathBuf§exit: PathBuf§pid: PathBufTrait Implementations§
Source§impl<'de> Deserialize<'de> for ChildSpec
impl<'de> Deserialize<'de> for ChildSpec
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 ChildSpec
impl StructuralPartialEq for ChildSpec
Auto Trait Implementations§
impl Freeze for ChildSpec
impl RefUnwindSafe for ChildSpec
impl Send for ChildSpec
impl Sync for ChildSpec
impl Unpin for ChildSpec
impl UnsafeUnpin for ChildSpec
impl UnwindSafe for ChildSpec
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