Struct dylint_internal::Command [−][src]
pub struct Command { /* fields omitted */ }
Implementations
impl Command
[src]
impl Command
[src]pub fn new<S: AsRef<OsStr>>(program: S) -> Self
[src]
pub fn args<I, S>(&mut self, args: I) -> &mut Self where
I: IntoIterator<Item = S>,
S: AsRef<OsStr>,
[src]
I: IntoIterator<Item = S>,
S: AsRef<OsStr>,
pub fn envs<I, K, V>(&mut self, vars: I) -> &mut Self where
I: IntoIterator<Item = (K, V)>,
K: AsRef<OsStr>,
V: AsRef<OsStr>,
[src]
I: IntoIterator<Item = (K, V)>,
K: AsRef<OsStr>,
V: AsRef<OsStr>,
pub fn env_remove<K: AsRef<OsStr>>(&mut self, key: K) -> &mut Self
[src]
pub fn current_dir<P: AsRef<Path>>(&mut self, dir: P) -> &mut Self
[src]
pub fn output(&mut self) -> Result<Output>
[src]
pub fn success(&mut self) -> Result<()>
[src]
Trait Implementations
impl SanitizeEnvironment for Command
[src]
impl SanitizeEnvironment for Command
[src]fn sanitize_environment(&mut self) -> &mut Self
[src]
Auto Trait Implementations
impl !RefUnwindSafe for Command
impl !RefUnwindSafe for Command
impl !UnwindSafe for Command
impl !UnwindSafe for Command