pub struct ProcessRunner { /* private fields */ }Implementations§
Source§impl ProcessRunner
impl ProcessRunner
pub fn new(kind: RunnerKind) -> Self
pub fn with_binary(kind: RunnerKind, binary: impl Into<String>) -> Self
pub fn schematic(schematics_binary: impl AsRef<Path>) -> Self
Trait Implementations§
Source§impl Clone for ProcessRunner
impl Clone for ProcessRunner
Source§fn clone(&self) -> ProcessRunner
fn clone(&self) -> ProcessRunner
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ProcessRunner
impl Debug for ProcessRunner
Source§impl PartialEq for ProcessRunner
impl PartialEq for ProcessRunner
Source§fn eq(&self, other: &ProcessRunner) -> bool
fn eq(&self, other: &ProcessRunner) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Runner for ProcessRunner
impl Runner for ProcessRunner
fn kind(&self) -> RunnerKind
fn binary(&self) -> &str
fn prefix_args(&self) -> &[String]
fn describe( &self, command: impl Into<String>, collect: bool, cwd: Option<PathBuf>, ) -> RunnerCommand
fn raw_full_command(&self, command: impl AsRef<str>) -> String
fn execute( &self, command: impl Into<String>, collect: bool, cwd: Option<PathBuf>, ) -> Result<RunnerExecution>
fn run( &self, command: impl Into<String>, collect: bool, cwd: Option<PathBuf>, ) -> Result<Option<String>>
impl Eq for ProcessRunner
impl StructuralPartialEq for ProcessRunner
Auto Trait Implementations§
impl Freeze for ProcessRunner
impl RefUnwindSafe for ProcessRunner
impl Send for ProcessRunner
impl Sync for ProcessRunner
impl Unpin for ProcessRunner
impl UnsafeUnpin for ProcessRunner
impl UnwindSafe for ProcessRunner
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.