pub enum CommandSpec {
Shell(String),
Argv {
program: String,
args: Vec<String>,
},
}Variants§
Implementations§
Source§impl CommandSpec
impl CommandSpec
pub fn as_posix_shell(&self) -> String
Trait Implementations§
Source§impl Clone for CommandSpec
impl Clone for CommandSpec
Auto Trait Implementations§
impl Forget for CommandSpec
impl Freeze for CommandSpec
impl Move for CommandSpec
impl RefUnwindSafe for CommandSpec
impl Send for CommandSpec
impl Sync for CommandSpec
impl Unpin for CommandSpec
impl UnsafeUnpin for CommandSpec
impl UnwindSafe for CommandSpec
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