[][src]Trait command_extra::CommandExtra

pub trait CommandExtra: Sized {
    fn with_current_dir(self, dir: impl AsRef<Path>) -> Self;
fn with_env(self, key: impl AsRef<OsStr>, value: impl AsRef<OsStr>) -> Self;
fn without_env(self, key: impl AsRef<OsStr>) -> Self;
fn with_no_env(self) -> Self;
fn with_arg(self, arg: impl AsRef<OsStr>) -> Self;
fn with_stdin(self, stdio: Stdio) -> Self;
fn with_stdout(self, stdio: Stdio) -> Self;
fn with_stderr(self, stdio: Stdio) -> Self; fn with_args<Args>(self, args: Args) -> Self
    where
        Args: IntoIterator,
        Args::Item: AsRef<OsStr>
, { ... } }

Required methods

fn with_current_dir(self, dir: impl AsRef<Path>) -> Self

fn with_env(self, key: impl AsRef<OsStr>, value: impl AsRef<OsStr>) -> Self

fn without_env(self, key: impl AsRef<OsStr>) -> Self

fn with_no_env(self) -> Self

fn with_arg(self, arg: impl AsRef<OsStr>) -> Self

fn with_stdin(self, stdio: Stdio) -> Self

fn with_stdout(self, stdio: Stdio) -> Self

fn with_stderr(self, stdio: Stdio) -> Self

Loading content...

Provided methods

fn with_args<Args>(self, args: Args) -> Self where
    Args: IntoIterator,
    Args::Item: AsRef<OsStr>, 

Loading content...

Implementations on Foreign Types

impl CommandExtra for Command[src]

Loading content...

Implementors

Loading content...