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 CommandSpecwhere
RawVecInner: Send,
impl Sync for CommandSpecwhere
RawVecInner: Sync,
impl Unpin for CommandSpec
impl UnsafeUnpin for CommandSpecwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
impl UnwindSafe for CommandSpecwhere
RawVecInner: UnwindSafe,
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