cargo_test_support

Trait ArgLineCommandExt

Source
pub trait ArgLineCommandExt: Sized {
    // Required method
    fn arg<S: AsRef<OsStr>>(self, s: S) -> Self;

    // Provided method
    fn arg_line(self, s: &str) -> Self { ... }
}
Expand description

Add a list of arguments as a line

Required Methods§

Source

fn arg<S: AsRef<OsStr>>(self, s: S) -> Self

Provided Methods§

Source

fn arg_line(self, s: &str) -> Self

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl ArgLineCommandExt for Command

Source§

fn arg<S: AsRef<OsStr>>(self, s: S) -> Self

Implementors§