pub enum ShellQuotingStyle {
Posix,
PowerShell,
}Expand description
Quoting dialect of the shell that will run a rebuilt command line.
Variants§
Posix
sh, bash, zsh: a quote is escaped by closing, escaping and reopening.
PowerShell
PowerShell: a quote inside a literal string is escaped by doubling it.
Implementations§
Trait Implementations§
Source§impl Clone for ShellQuotingStyle
impl Clone for ShellQuotingStyle
impl Copy for ShellQuotingStyle
Source§impl Debug for ShellQuotingStyle
impl Debug for ShellQuotingStyle
impl Eq for ShellQuotingStyle
Source§impl PartialEq for ShellQuotingStyle
impl PartialEq for ShellQuotingStyle
impl StructuralPartialEq for ShellQuotingStyle
Auto Trait Implementations§
impl Freeze for ShellQuotingStyle
impl RefUnwindSafe for ShellQuotingStyle
impl Send for ShellQuotingStyle
impl Sync for ShellQuotingStyle
impl Unpin for ShellQuotingStyle
impl UnsafeUnpin for ShellQuotingStyle
impl UnwindSafe for ShellQuotingStyle
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