[−][src]Struct conch_runtime::env::ExecutableData
Any data required to execute a child process.
Fields
name: Cow<'a, OsStr>
The name/path to the executable.
args: Vec<Cow<'a, OsStr>>
Arguments to be provided to the executable.
env_vars: Vec<(Cow<'a, OsStr>, Cow<'a, OsStr>)>
Any environment variables that should be passed to the executable. Environment variables from the current process must NOT be inherited if they do not appear in this collection.
current_dir: Cow<'a, Path>
The current working directory the executable should start out with.
stdin: Option<FileDesc>
The executable's standard input will be redirected to this descriptor
or the equivalent of /dev/null
if not specified.
stdout: Option<FileDesc>
The executable's standard output will be redirected to this descriptor
or the equivalent of /dev/null
if not specified.
stderr: Option<FileDesc>
The executable's standard error will be redirected to this descriptor
or the equivalent of /dev/null
if not specified.
Methods
impl<'a> ExecutableData<'a>
[src]
pub fn into_owned(self) -> ExecutableData<'static>
[src]
Ensures all inner data is fully owned and thus lifted to a 'static
lifetime.
Trait Implementations
impl<'a> Eq for ExecutableData<'a>
[src]
impl<'a> PartialEq<ExecutableData<'a>> for ExecutableData<'a>
[src]
fn eq(&self, other: &ExecutableData<'a>) -> bool
[src]
fn ne(&self, other: &ExecutableData<'a>) -> bool
[src]
impl<'a> Debug for ExecutableData<'a>
[src]
Auto Trait Implementations
impl<'a> Send for ExecutableData<'a>
impl<'a> Sync for ExecutableData<'a>
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,