Struct rrun_ssh::ProgramArgs
[−]
[src]
pub struct ProgramArgs { /* fields omitted */ }
Builder for the command-line arguments for a program.
Methods
impl ProgramArgs
[src]
fn new<S: Into<OsString>>(program: S) -> ProgramArgs
Creates a builder for ProgramArgs
from a program name.
fn push<S: Into<OsString>>(&mut self, arg: S)
Appends a single argument.
fn into_command(self) -> Command
Converts these arguments into a command to run.
Trait Implementations
impl Clone for ProgramArgs
[src]
fn clone(&self) -> ProgramArgs
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl Debug for ProgramArgs
[src]
impl Eq for ProgramArgs
[src]
impl PartialEq for ProgramArgs
[src]
fn eq(&self, __arg_0: &ProgramArgs) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &ProgramArgs) -> bool
This method tests for !=
.
impl<S: Into<OsString>> Extend<S> for ProgramArgs
[src]
fn extend<T: IntoIterator<Item = S>>(&mut self, iterable: T)
Extends a collection with the contents of an iterator. Read more