Trait conch_runtime::env::ChangeWorkingDirectoryEnvironment [] [src]

pub trait ChangeWorkingDirectoryEnvironment: WorkingDirectoryEnvironment {
    fn change_working_dir<'a>(&mut self, path: Cow<'a, Path>) -> Result<()>;
}

An interface for changing the shell's current working directory.

Required Methods

Changes the environment's current working directory to the following path.

The provided path can either be an absolute path, or one which will be treated as relative to the current working directory.

Implementations on Foreign Types

impl<'b, T: ?Sized> ChangeWorkingDirectoryEnvironment for &'b mut T where
    T: ChangeWorkingDirectoryEnvironment
[src]

[src]

Implementors