Struct rrun_ssh::RemoteLocation
[−]
[src]
pub struct RemoteLocation { pub host: OsString, pub path: PathBuf, }
Represents a location on a remote host.
Fields
host: OsString
Host of the remote server
path: PathBuf
Path of the remote directory
Methods
impl RemoteLocation
[src]
fn new(s: &str) -> Result<RemoteLocation, ()>
Converts a string for a host:location into a RemoteLocation
.
Trait Implementations
impl Clone for RemoteLocation
[src]
fn clone(&self) -> RemoteLocation
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 RemoteLocation
[src]
impl Eq for RemoteLocation
[src]
impl PartialEq for RemoteLocation
[src]
fn eq(&self, __arg_0: &RemoteLocation) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &RemoteLocation) -> bool
This method tests for !=
.