pub struct CommandSpec {
pub program: PathBuf,
pub args: Vec<OsString>,
}Expand description
A shell-free executable and argument list.
Fields§
§program: PathBufExecutable path.
args: Vec<OsString>Individual arguments passed directly to the executable.
Implementations§
Trait Implementations§
Source§impl Clone for CommandSpec
impl Clone for CommandSpec
Source§impl Debug for CommandSpec
impl Debug for CommandSpec
impl Eq for CommandSpec
Source§impl PartialEq for CommandSpec
impl PartialEq for CommandSpec
impl StructuralPartialEq 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<OsString>: 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