pub struct ExecIo { /* private fields */ }Implementations§
Source§impl ExecIo
impl ExecIo
pub fn new() -> Self
pub fn set_stdin(&mut self, stdin: Option<SharedInput>)
pub fn set_stdout(&mut self, stdout: Option<SharedOutput>)
pub fn set_stderr(&mut self, stderr: Option<SharedOutput>)
pub fn insert_inherit_env<S: Into<String>, V: Into<String>>( &mut self, key: S, value: V, )
pub fn remove_inherit_env<S: Into<String>>(&mut self, key: S)
pub fn inherit_env_value(&self, key: &str) -> Option<&String>
pub fn inherit_env_is_removed(&self, key: &str) -> bool
pub fn insert_input_pipe<S: Into<String>>( &mut self, name: S, reader: SharedInput, )
pub fn insert_output_pipe<S: Into<String>>( &mut self, name: S, writer: SharedOutput, )
pub fn insert_output_pipe_stdout<S: Into<String>>( &mut self, name: S, writer: SharedOutput, )
pub fn insert_output_pipe_stderr<S: Into<String>>( &mut self, name: S, writer: SharedOutput, )
pub fn insert_output_pipe_stdout_inherit<S: Into<String>>(&mut self, name: S)
pub fn insert_output_pipe_stderr_inherit<S: Into<String>>(&mut self, name: S)
pub fn stdin(&self) -> Option<SharedInput>
pub fn stdout(&self) -> Option<SharedOutput>
pub fn stderr(&self) -> Option<SharedOutput>
pub fn input_pipe(&self, name: &str) -> Option<SharedInput>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ExecIo
impl RefUnwindSafe for ExecIo
impl Send for ExecIo
impl Sync for ExecIo
impl Unpin for ExecIo
impl UnwindSafe for ExecIo
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