Struct rrun_ssh::RemoteMounts
[−]
[src]
pub struct RemoteMounts { /* fields omitted */ }
Encapsulates data on which directories have been remotely mounted.
Methods
impl RemoteMounts
[src]
fn load_reader<R: Read>(r: R) -> Result<RemoteMounts>
Loads the contents of an mtab file into a RemoteMounts
structure.
fn load() -> Result<RemoteMounts>
Loads the contents of /etc/mtab
into a RemoteMounts
structure.
fn into_dir(self, p: PathBuf) -> Location
Determines the location of the given directory.
fn into_current_dir(self) -> Result<Location>
Determines the location of the current directory.