ArgLineCommandExt in cargo_test_support - Rust (original) (raw)
Trait ArgLineCommandExt
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§
fn arg<S: AsRef<OsStr>>(self, s: S) -> Self
Provided Methods§
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.