Skip to main content

EnvSetCurrentDir

Trait EnvSetCurrentDir 

Source
pub trait EnvSetCurrentDir: BaseEnvSetCurrentDir {
    // Provided method
    fn env_set_current_dir(&self, path: impl AsRef<Path>) -> Result<()> { ... }
}

Provided Methods§

Source

fn env_set_current_dir(&self, path: impl AsRef<Path>) -> Result<()>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§