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
fn change_working_dir<'a>(&mut self, path: Cow<'a, Path>) -> Result<()>
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]
T: ChangeWorkingDirectoryEnvironment,
Implementors
impl ChangeWorkingDirectoryEnvironment for VirtualWorkingDirEnv
impl ChangeWorkingDirectoryEnvironment for AtomicVirtualWorkingDirEnv
impl<A, IO, FD, L, V, EX, WD, N, ERR> ChangeWorkingDirectoryEnvironment for Env<A, IO, FD, L, V, EX, WD, N, ERR> where
N: Hash + Eq,
WD: ChangeWorkingDirectoryEnvironment,impl<A, IO, FD, L, V, EX, WD, N, ERR> ChangeWorkingDirectoryEnvironment for AtomicEnv<A, IO, FD, L, V, EX, WD, N, ERR> where
N: Hash + Eq,
WD: ChangeWorkingDirectoryEnvironment,