Trait Shell

Source
pub trait Shell {
    // Required methods
    fn path(&self, path: &Path, append: bool) -> String;
    fn env_var(&self, name: &str, val: &str) -> String;
    fn use_on_cd(&self) -> &'static str;
}

Required Methods§

Source

fn path(&self, path: &Path, append: bool) -> String

Source

fn env_var(&self, name: &str, val: &str) -> String

Source

fn use_on_cd(&self) -> &'static str

Implementors§