ShellPath

Trait ShellPath 

Source
pub trait ShellPath {
    // Required method
    fn shell_path(&self) -> CString;
}

Required Methods§

Source

fn shell_path(&self) -> CString

Returns the path to the shell executable.

If possible, this function should return the path to the current shell executable. Otherwise, it should return the path to the default POSIX shell.

Implementors§

Source§

impl ShellPath for RealSystem

Source§

impl ShellPath for VirtualSystem

Source§

impl<T: ShellPath> ShellPath for SharedSystem<T>

Delegates ShellPath methods to the contained implementor.