pub struct Invocation {
pub program: PathBuf,
pub args: Vec<OsString>,
pub env: Vec<(OsString, OsString)>,
pub cwd: PathBuf,
}Expand description
One process to run: program, arguments, the complete environment and the working directory. Kept as data so tests can check what a git receives.
Fields§
§program: PathBuf§args: Vec<OsString>§env: Vec<(OsString, OsString)>§cwd: PathBufTrait Implementations§
Source§impl Clone for Invocation
impl Clone for Invocation
Source§impl Debug for Invocation
impl Debug for Invocation
impl Eq for Invocation
Source§impl PartialEq for Invocation
impl PartialEq for Invocation
impl StructuralPartialEq for Invocation
Auto Trait Implementations§
impl Forget for Invocation
impl Freeze for Invocationwhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
PhantomData<OsString>: Freeze,
PhantomData<(OsString, OsString)>: Freeze,
impl Move for Invocation
impl RefUnwindSafe for Invocation
impl Send for Invocationwhere
RawVecInner: Send,
impl Sync for Invocationwhere
RawVecInner: Sync,
impl Unpin for Invocation
impl UnsafeUnpin for Invocationwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<OsString>: UnsafeUnpin,
PhantomData<(OsString, OsString)>: UnsafeUnpin,
impl UnwindSafe for Invocationwhere
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.