Enum rrun_ssh::Location [] [src]

pub enum Location {
    Remote(RemoteLocation),
    Local,
}

Encapsulates a directory in which a program can be executed.

Variants

Directory on a remote server

Current working directory

Methods

impl Location
[src]

Using the given command-line arguments, generate a set of program arguments if they exist.

Using the program environment, generate a set of program arguments if they exist.

Trait Implementations

impl Clone for Location
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Location
[src]

Formats the value using the given formatter.

impl PartialEq for Location
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Eq for Location
[src]

impl Display for Location
[src]

Formats the value using the given formatter. Read more