pub enum Shell {
Sh,
Bash,
Zsh,
PowerShell,
Cmd,
}Expand description
Shell to use for running commands. Default: bash on Unix, powershell on Windows
Variants§
Sh
Bourne shell (sh)
Bash
Bash shell (default on Unix)
Zsh
Zsh shell
PowerShell
PowerShell (default on Windows)
Cmd
Windows cmd.exe
Trait Implementations§
impl Copy for Shell
impl StructuralPartialEq for Shell
Auto Trait Implementations§
impl Freeze for Shell
impl RefUnwindSafe for Shell
impl Send for Shell
impl Sync for Shell
impl Unpin for Shell
impl UnwindSafe for Shell
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more